<div class="current">
<img src="<?php echo $featuredspot[0]?>" alt="Photo Gallery" width="700" height="280" class="gallery"/>
</div>
<div>
<img src="<?php echo $featuredspot[1]?>" alt="Photo Gallery" width="700" height="280" class="gallery"/>
</div>
<div>
<img src="<?php echo $featuredspot[2]?>" alt="Photo Gallery" width="700" height="280" class="gallery"/>
</div>
<div>
<img src="<?php echo $featuredspot[3]?>" alt="Photo Gallery" width="700" height="280" class="gallery"/>
</div>
<div>
<img src="<?php echo $featuredspot[4]?>" alt="Photo Gallery" width="700" height="280" class="gallery"/>
</div>
";
echo "
";
}
else{
echo "Hello, $fname
"; echo "";
echo "
";
}
include 'layoutmenus.php';
?>
Citigate Travel Plus
"; echo "";
echo"
"; echo "$pname"; echo ""; echo "
"; echo ""; echo ""; echo ""; echo ""; echo"
";
if($position=="admin")
{
$a=$x-8;
$b=$y-8;
echo ""; echo "$pname"; echo ""; echo "
"; echo ""; echo ""; echo ""; echo ""; echo"
";
echo "[Edit]";
echo"
";
$a=$x-8;
$b=$y+180;
echo "";
}
if($picture<1)
{
$y = $y+250;
$picture=$picture+1;
}
else
{
$picture=0;
$y=410;
$x=$x+210;
}
}
if($position=="admin"){
echo "";
echo "[Add]";
echo"
";
echo "";
echo "[Add]";
echo"
";
}
if($max_pages>1){
echo "";
echo "
- ";
$prev = $start - $per_page;
$next = $start + $per_page;
if ($start>0){
echo " prev ";
?>
<script type="text/javascript">
window.scrollTo(0,450);
</script>
<?php
}
$i=1;
for ($x=0;$x<$record_count;$x=$x+$per_page)
{
if ($start!=$x)
echo "<a href='homepage.php?start=$x'>$i</a> ";
else
echo "<a href='homepage.php?start=$x'><b>$i</b></a>";
$i++;
}
if ($start<$record_count-$per_page)
echo "<a href='homepage.php?start=$next'>next</a>";
echo "</ul>";
echo"</div>";
}
?>