( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<?php
if (empty($page)){
$page = 0;
}
$record = 15;
$navresult = $db->getcountnav($page,$record);
?>
<style type="text/css">
<!--
.style4 {font-weight: bold}
-->
</style>
<table width="95%" border="0" align="center" cellpadding="0">
<tr>
<td width="55" align="left" valign="top"><a href="<?php echo $siteaddress; ?>go"><img src="images/logo.png" alt="Eziki on the go" /></a></td>
<td width="51" align="right" valign="top"> </td>
<td width="786" align="right" valign="top"><?
if (isset($_SESSION['euserid'])) {?>
<ul class="mynav" style="width:500px;">
<li><strong> <?php echo $welcome; ?><? echo $_SESSION['user_name'];?> </strong></li>
<br />
<li class="style4"><a href="#" onclick="ezikiLoadRemote('targetArea4','playlist<?php echo $_SESSION['euserid']; ?>');return false"><?php echo $myplaylist; ?>
<?php /*?>
<a href="#" id="<?php echo $_SESSION['euserid'];?>" class="playlist"><?php echo $myplaylist; ?><?php */?>
( </a>
<div id="insert_response22" style="margin:0px; display:inline;"> <a href="#" onclick="ezikiLoadRemote('targetArea4','playlist<?php echo $_SESSION['euserid']; ?>');return false"><span id="savedVideos">
<?php
if (empty($navresult)){ print " ";}
if (!empty($navresult)) {
while ( list($key,$val)=each($navresult) ) {
$mycount = stripslashes($val["mycount"]);
print "$mycount";
}
}
?>
</span> </a></div>
<a href="#" onclick="ezikiLoadRemote('targetArea4','playlist<?php echo $_SESSION['euserid']; ?>');return false"> )</a> </li>
<li><strong>
<? if ($_SESSION['admini']==1){?>
<a href="<?php echo $siteaddress; ?>v/home" target="_blank"><?php echo $videooptions; ?></a>
<?php
} ?>
<? if ($_SESSION['admini']==0){?>
<a href="<?php echo $siteaddress; ?><?php echo $_SESSION['sluga']; ?>" ><?php echo "My Profile"; ?></a>
<?php
} ?>
</strong></li>
<li><strong><a href="<?php echo $siteaddress; ?>v/help" target="_blank"><?php echo $help; ?> </a></strong></li>
<li><strong><a href="<?php echo $siteaddress; ?>v/logout"><?php echo $logout; ?></a></strong> </li>
</ul>
<? }
else {?>
<ul class="mynav">
<li> <strong><a href="<?php echo $siteaddress; ?>v/register?p=<?php print "$slugesc"; ?>&c=<?php print $c; ?>">Hi there, Create a free Account!</a> </strong></li>
<li><strong><a href="<?php echo $siteaddress; ?>v/login?p=<?php print "$slugesc"; ?>&c=<?php print $c; ?>">
<!--<a href="#" class="replythis2" id="27">-->
Login</a> </strong></li>
<strong>
<?php /*?>
<?php
include("signininnews");?>
<?php */?>
</strong>
</ul> <? }
?></td>
</tr>
</table>
<?php
$checkSlug = explode("/", $_SERVER["REQUEST_URI"]);
$checkDir = count($checkSlug); // count elements
$n = $checkDir - 1; // find last element
$findSlug = $checkSlug[$n]; // isolate the last part of the url
if ($findSlug == "index"){?>
<?php }
if(empty($findSlug)){?>
<?php }
?>