August 11, 2012


Login Logout

<?php
 $userid=$_SESSION["__default"]["user"]->id; ;
 if( $userid )
              {
              echo '<a href="index.php?action=logout"><img src="logout.jpg" width="100" height="25" /></a>';
              } else {
              echo '<a href="index.php/login"><img src="login.jpg" width="100" height="25" /></a>';
              }
?>

11 comments:

  1. joomla reset Admin password

    First empty the usertable from phpmyadmin and Run this query from phpmyadmin :

    INSERT INTO `jos_users` (`id`, `name`, `username`, `email`, `password`, `usertype`, `block`, `sendEmail`, `gid`, `registerDate`, `lastvisitDate`, `activation`, `params`) VALUES
    (62, 'Administrator', 'admin', 'admin@admin.com', '795bd3a70e6092b3b2ef4cf693791a19:hxBIPX2KGcaNPQXtfQ78MlSjX8eqaK8P', 'Super Administrator', 0, 1, 25, '2011-01-02 08:29:32', '2011-05-18 08:09:32', '', '')


    Then login with : user: admin pass: admin

    ReplyDelete
  2. Nice Image gallery

    http://www.menucool.com/javascript-image-slider
    http://wowslider.com/rq/image-slideshow-full-source-code-f.html

    ReplyDelete

  3. http://wordpress.org/extend/plugins/ajax-search-lite/

    ReplyDelete
  4. http://www.newone.me/rt-theme-17-%E2%80%93-responsive-wordpress-theme

    ReplyDelete
  5. http://wordpress.org/extend/plugins/social-subscribers-counter/screenshots/

    ReplyDelete
  6. http://wordpress.org/extend/plugins/social-counter-widget/screenshots/

    ReplyDelete
  7. Facebook Like Box Widget

    http://wordpress.org/extend/plugins/facebook-like-box-widget/screenshots/

    ReplyDelete
  8. Rotating tweets:

    http://wordpress.org/extend/plugins/rotatingtweets/installation/

    ReplyDelete
  9. http://wordpress.org/extend/plugins/job-manager/installation/
    http://wordpress.org/extend/plugins/job-manager-by-smartrecruiters/installation/
    http://wordpress.org/extend/plugins/easy-career-openings/screenshots/

    ReplyDelete
  10. http://www.designfirms.org/

    ReplyDelete
  11. http://wordpress.org/extend/plugins/email-newsletter/

    ReplyDelete