<div class="container"> <h1><?php echo auth::getuser()['name']; ?> </h1> <p>twitter'la irtibatlı hesabın</p> <br> <h1>keeps</h1> <pre><?php // print_r(twitter::gettwitter()); // $twitter = twitter::gettwitter(); // print_r($twitter->get('account/verify_credentials')); ?> </pre> <hr> <pre> <?php print_r($_SESSION); ?> </pre> </div>
<button type='button' data-toggle='collapse' data-target='.navbar-collapse' class='navbar-toggle'><span class='sr-only'>Toggle navigation</span><span class='icon-bar'></span><span class='icon-bar'></span><span class='icon-bar'></span></button> <a href='/' class='navbar-brand'>Keepitter</a></div> <div class='navbar-collapse collapse'> <ul class='nav navbar-nav'> <li><a href='/insert'>keep a tweet</a></li> </ul> <ul class='nav navbar-nav navbar-right'> <?php if (auth::isauth()) { ?> <li class='dropdown'> <a href='#' data-toggle='dropdown' class='dropdown-toggle' id="profiler"><b><?php echo auth::getuser()['name']; ?> </b> (@<?php echo auth::getuser()['screen_name']; ?> ) <span class='caret'></span></a> <ul role='menu' class='dropdown-menu'> <li><a href='/me'>me</a></li> <li class='divider'></li> <li><a href='/profile/kill'>log out</a></li> </ul> </li> <?php } else { ?> <li> <p class="navbar-btn"> <a class="btn btn-social btn-block btn-twitter" href='/login/authorize'>