/home/newportc/public_html/index.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<?php include('includes/config.inc.php'); ?>
<?php $page 
$_GET['page'];

if(
$page =='' || !isset($page)) { $page='home'; }
include(
'includes/seo.php'); ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?php echo $metaTitle?></title>
<meta name="description" content="<?php echo $metaDesc?>" />
<meta name="keywords" content="<?php echo $metaKeywords?>" />
<link href="style.css" rel="stylesheet" type="text/css" />

<script type="text/javascript">
 function swap(image) {
  document.getElementById("main-js").src = image.id;
 }
</script>

<script type="text/javascript">
 
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-27717922-1']);
  _gaq.push(['_trackPageview']);
 
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
 
</script>



</head>

<body>
<div id="wrapper">
<div id="header">
  
  <div id="header-inner">
    <div id="logo">
      <img src="images/header-logo.gif" alt="Newport Cottage Care Centre" width="241" height="154" />
      </div>
    <div id="tagline">
      <p class="main-tagline">&quot;Elderly people do need our help - and respect.&quot;</p>
      <p class="main-tagline"><strong>&quot;Help us to help them.&quot;</strong></p>
      </div>
      <div id="tagline-bottom">
       Newport's Largest Charity
     </div>
    <div id="top-nav">
      <div class="buttonwrapper">
        <ul>
          <li><a href="?page=home" title="Home" class="ovalbutton<?php if($page == "home") { echo "current"; } ; ?>"><span>Home</span></a></li>
          <li><a href="?page=about" title="About" class="ovalbutton<?php if($page == "about") { echo "current"; } ; ?>"><span>About</span></a></li>
          <li><a href="?page=services" title="Services" class="ovalbutton<?php if($page == "services") { echo "current"; } ; ?>"><span>Services</span></a></li>
          <li><a href="?page=events" title="Events" class="ovalbutton<?php if($page == "events") { echo "current"; } ; ?>"><span>Events</span></a></li>
          <li><a href="?page=fundraising" title="Fundraising" class="ovalbutton<?php if($page == "fundraising") { echo "current"; } ; ?>"><span>Fundraising</span></a></li>
          <li><a href="?page=leagueoffriends" title="League of Friends" class="ovalbutton<?php if($page == "leagueoffriends") { echo "current"; } ; ?>"><span>League of Friends</span></a></li>
          <li><a href="?page=contact" title="Contact Us" class="ovalbutton<?php if($page == "contact") { echo "current"; } ; ?>"><span>Contact Us</span></a></li>
          </ul>
        </div>
  </div>
    </div>
</div>
<div id="mid">
 <div id="inner">
<div id="main">

<?php 
if($page == 'services') {
include(
'includes/left-block-large.php');
}
else {
include(
'includes/left-block-standard.php');    
}
?>

<?php 
if(file_exists('includes/'.$page.'.php')) {
include(
'includes/'.$page.'.php');
}
else {
include(
'includes/home.php');
}
?>

<br  class="clear" />
</div>
<br  class="clear" />
</div>
</div>
<div id="footer">
 <div id="footer-inner-container">
<div id="footer-inner">
  <div class="footer-cell"> <a href="?page=lottery"><img src="images/footer-lottery.png" alt="Play the NCCC Lottery" width="231" height="150" /></a>
   <div class="footer-cell-tag-blue"><a href="?page=lottery">PLAY THE NCCC LOTTERY</a></div>
   </div>
   <div class="footer-cell"> <a href="?page=newsletter"><img src="images/footer-newsletter.png" alt="Newsletter Download" width="244" height="150" /></a>
    <div class="footer-cell-tag-yellow"><a href="?page=newsletter">NEWSLETTER DOWNLOAD</a></div>
   </div>
   <div class="footer-cell"> <a href="?page=fundraising"><img src="images/footer-donate.png" alt="Donate or Sponsor us" width="222" height="150" /></a>
   <div class="footer-cell-tag-orange"><a href="?page=fundraising">DONATE OR SPONSOR US</a></div>
   </div>
   <br class="clear" />
</div>
<br class="clear" />
  </div>
  <div id="footer-mid"><div id="footer-inner-centre">
  <div id="footer-info-logo-unsung"><img src="images/unsung-heroes-logo.gif" width="100" height="94" /></div>
  <div id="footer-info-logo-spic"><img src="images/spic-logo.gif" width="130" height="74" />
  </div>
  <div id="footer-centre-middle">
    <p><strong>Newport Cottage Care Centre</strong></p>
    <p>&nbsp;</p>
    <p>Upper Bar <img src="images/dot.png" width="9" height="10" /> Newport <img src="images/dot.png" alt="" width="9" height="10" /> Shropshire <img src="images/dot.png" alt="" width="9" height="10" /> TF10 7EH</p>
    <p>&nbsp;</p>
    <p><strong>Tel:</strong> 01952 820893 <img src="images/dot.png" alt="" width="9" height="10" /> <strong>Fax: </strong>01952 810633 <img src="images/dot.png" alt=" " width="9" height="10" /> <strong>E-mail: </strong><a href="mailto:info@newport-care.org">info@newport-care.org</a></p>
    <p>&nbsp;</p>
    <p><a href="?page=privacy-and-cookies">Privacy and Cookies</a></p>
    <p>&nbsp;</p>
  </div>
  <br class="clear" />
  </div>
<br class="clear" />
</div>
  <div id="footer-inner-bottom">
      <script id="jgGive" data-charity="800571" data-env="https://www.justgiving.com" src="https://www.justgiving.com/bundles/js/givewidgetloader.js" data-width="500"></script><br /><br /><br /><br />
    <p>Managed by the Newport (Shropshire) Cottage Care Centre Trust Ltd <img src="images/dot-blue.png" alt="" width="10" height="10" /> In association with 'The Newport League of Friends' </p>
    <p>&nbsp;</p>
    <p>Patron: Viscount Newport | Company No: 2500924 | Charity No: 1001348 </p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p class="shoutabout">web design shropshire <a href="http://www.shout-about.com" target="_blank">Shout-About</a></p>
    <p>&nbsp;</p>
<br class="clear" />
</div>
<br class="clear" />
</div>
</div>
</body>
</html>