Parašė adh· 2010 Geg. 1 00:05:40
#1
Galite i sita koda
<div class="sidebar-box">
<div class="sidebar-box-inside">
<span class="sidebar-box-title">Prisijungimas</span>
<div style="clear: both;"></div>
<?php echo $artsee_about_text; ?> </div>
</div>
iterpti vietoj to artsee about text sita funkcija?
function login_form(){
global $user_ID;
$user = get_userdata($user_ID);
if(!is_user_logged_in()){
return "<form action='".get_bloginfo('url')."/wp-login.php' method='post'>
<p>
<label for='log'>".__("Username: ", "vasthtml")."<input type='text' name='log' id='log' value='".wp_specialchars(stripslashes($user_login), 1)."' size='12' /> </label>
<label for='pwd'>".__("Password: ", "vasthtml")."<input type='password' name='pwd' id='pwd' size='12' />
<input type='submit' name='submit' value='Login' class='button' /></label>
<label for='rememberme'><input name='rememberme' id='rememberme' type='checkbox' checked='checked' value='forever' /> ".__("Remember", "vasthtml")."</label>
</p>
<input type='hidden' name='redirect_to' value='".$_SERVER['REQUEST_URI']."'/>
</form>";
}
else
return "<p>You are logged in as $user->user_login</p>";
}
Gal cia dar ko nors truksta?
Redagavo adh· 2010 Geg. 1 00:05:06