|
<h2>Giriş Paneli</h2>
<?php
global $user_ID, $user_identity;
get_currentuserinfo();
if (!$user_ID):
?>
<div> <form name="loginform" id="loginform" action="<?php echo get_settings('siteurl'); ?>/wp-login.php" method="post">
<label>
<input type="text" name="log" id="log" size="20" tabindex="7" />
</label>
<label>
<input name="pwd" type="password" id="pwd" tabindex="8" size="20" />
</label><br />
<label><input type="checkbox" name="rememberme" value="forever" tabindex="9" /> <?php _e("Remember me"); ?></label>
<input class="button" type="submit" name="submit" value="<?php _e('Login'); ?> »" tabindex="10" />
<?php wp_register('', ''); ?>
<input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>"/>
</form>
<a href="../wp-login.php?action=lostpassword" target="_self">Şifremi Unuttum </a></div>
<br />
<?php
else:
?>
<ul><li> Kullanıcı: <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a></li>
<?php wp_register(); ?>
<li><a href="<?php echo get_settings('siteurl') . '/wp-login.php?action=logout&redirect_to=' . $_SERVER['REQUEST_URI']; ?>"><?php _e('Logout'); ?></a></li>
</ul>
<?php
endif;
?>
If you want a custom URL for this text, click here ($2/year)
If you want to create your own free URL , click here
|