Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Pora klausimų +11

Parašė daumiis· 2012 Vas. 20 12:02:19
#11


<?php
global $userdata, $aidlink, $locale, $db_prefix, $theme_width, $result;
 
echo "<table cellspacing='0' cellpadding='0' class='loginp' width='550'><tr>";
 
	if (iMEMBER) {
echo "<td style='padding-left:50px;'>
<div style='float:left;'><a href='".BASEDIR."edit_profile.php' style='color:#FFF;'>Redaguoti profili</a>  
<a href='".BASEDIR."messages.php' style='color:#FFF;'>&#381;inut&#279;s</span></a></div>
<div style='float:left; padding-left:10px;'>
<a href='".BASEDIR."members.php' style='color:#FFF;'>Nari&#371; sara&#353;as</a>
<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' style='color:#FFF;'>Mano profilis</a>
</div><div style='float:left; padding-left:10px;'>";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
		echo "  <a href='".ADMIN."index.php".$aidlink."' style='color:Red;'>Administracija</a>";
 
	}
                echo" <a href='".BASEDIR."setuser.php?logout=yes' target='' style='color:#FFF;'>Atsijungti</a></td></div><div style='clear:both;'></div>";
} else {
echo"
<div class='pasisveikinimas'> Sveikas atvyk&#281;s, <b>sve&#269;ias</b>.</div>
<td align='center'>
<tr>
 
<td style='padding-left:90px;'><form name='loginform' method='post' action='".FUSION_SELF."'>
<div class='id'></div><input type='text' name='user_name' value='vardas' onfocus=\"if(this.value=='vardas'){this.value='';}\" onblur=\"if(this.value==''){this.value='vardas';}\" class='login'></td>
<td style='padding-right:10px;'>
<div class='psw'></div><input type='password' name='user_pass' value='slaptažodis' onfocus=\"if(this.value=='slaptažodis'){this.value='';}\" onblur=\"if(this.value==''){this.value='slaptažodis';}\" class='login2'></td>
<td style='padding-right:20px;'><input type='submit'  name='login' value='' class='ok'></td>
<td class='login-text' colspan='2'>
<div class='reg'>
Dar ne narys? <a href=".BASEDIR."register.php'>U&#382;siregistuok!</a> <br />
Pamir&#353;ai slapta&#382;odi?<a href=".BASEDIR."lostpassword.php ' >Pra&#353;yk naujo!</a></td></tr>
</div>
</form>
</td>
</tr>\n";
}
 
 
	echo "</tr></table>";
?>