php - Bootstrap Toggle Navigation And AJAX working on Localhost, but not in webhosting and not working on my computer -
please me,
some feature on website ( php ) not working on server , when im copying file of website new directory, can't work too. , when im trying upload database, can't work too.
<!-- navigation --> <div id="cont-banner"> <div id="banner"> <a href="index.php"> <img class="banner-image" src="image/<?php setbrand();?>" alt=""> </a> </div> </div> <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <div class="container" id="navigation-cont"> <!-- brand , toggle grouped better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="index.php"><img class="img-navbar" src="image/homebuttonmerged.png" alt=""></a> </div> <!-- collect nav links, forms, , other content toggling --> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav"> <li class="dropdown"> <a href="jobs.php" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" id="nav-jobs">jobs <span class="caret"></span></a> <ul class="dropdown-menu" role="menu"> <li><a href="foto.php">photo</a></li> <li><a href="video.php">video</a></li> <li><a href="survey.php">survey</a></li> <li><a href="game.php">game</a></li> </ul> </li> </ul> <form action="search.php" method="get" class="navbar-form navbar-left" role="search" id="nav-form"> <div class="form-group"> <div class="icon-addon addon-lg"> <input type="text" id="q" name="q" placeholder="search" class="form-control" id="search"> <a href="#"><label for="search" class="glyphicon glyphicon-search" rel="tooltip" title="search"></label></a> </div> </div> </form> <ul class="nav navbar-nav navbar-right"> <li><a href="help.php">bantuan</a></li> <?php $id = $_session['username']; $sql = mysql_query("select partimer.fname partimer partimer.username = '$id' or partimer.email = '$id'"); $result=mysql_fetch_array($sql); if (empty($_session['username']) , empty($_session['passuser'])){ echo" <li><a href='#'><img src='image/email.png' alt='' id='li-mail'></a></li> <li class='dropdown' id='li-log'> <a href='#' class='dropdown-toggle' data-toggle='dropdown' role='button' aria-expanded='false'>login <span class='caret'></span></a> <ul class='dropdown-menu' role='menu' id='drop-log'> <form class='navbar-form navbar-left' action='cek-login.php' method='post'> <div class='form-group'> <input type='text' class='form-control' id='log-control' placeholder='username or email' name='username'> <input type='password' class='form-control' id='log-control' placeholder='password' name='password'> </div> <button type='submit' class='btn btn-default' id='btn-log'>login</button> </form> <li><a href='#'><p class='a-log'>forgot password?</p></a></li> <p class='p-log'>don't have account?<br>please <a class='a-log' href='register/index.html'>sign up</a>. free.</p> </ul> </li> <li id='break-li'><span></span></li> <li><a href='register/index.html'>register</a></li> "; } else{ echo" <li style='margin-top: 0px;'><a href='profile-message.php'><img src='image/email.png' alt='' id='li-mail'>".$returnntfc."</a></li> <li class='dropdown' id='li-log'> <a href='#' class='dropdown-toggle' data-toggle='dropdown' role='button' aria-expanded='false'>hello ".$result['fname']."<span class='caret'></span></a> <ul class='dropdown-menu' role='menu' id='drop-log2'> <li><a href='profile-phone.php'><p class='b-log'>my account</p></a></li> <li><a href='profile.php'><p class='b-log'>edit profile</p></a></li> <li><a href='profile-message.php'><p class='b-log'>message</p></a></li> <li><a href='profile-timeline.php'><p class='b-log'>my job</p></a></li> <li><a href='profile-saldo.php'><p class='b-log'>total saldo</p></a></li> <li><a href='logout.php'><p class='b-log'>log out</p></a></li> </ul> </li> "; } ?> <!-- <li class="dropdown" id="li-log"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">login <span class="caret"></span></a> <ul class="dropdown-menu" role="menu" id="drop-log"> <form class="navbar-form navbar-left" action="cek-login.php" method="post"> <div class="form-group"> <input type="text" class="form-control" id="log-control" placeholder="username or email" name="username"> <input type="password" class="form-control" id="log-control" placeholder="password" name="password"> </div> <button type="submit" class="btn btn-default" id="btn-log">login</button> </form> <li><a href="#"><p class="a-log">forgot password?</p></a></li> <p class="p-log">don't have account?<br>please <a class="a-log" href="register/index.html">sign up</a>. free.</p> <!-- <li><a href="#">action</a></li> <li><a href="#">another action</a></li> </ul> </li> <li id="break-li"><span></span></li> <li><a href="register/index.html">register</a></li>--> </ul> </div> <!-- /.navbar-collapse --> </div> <!-- /.container --> </nav> ... <!-- ajax timeline here! --> <div class="col-md-12 scroll-time" id="timeline"> <div id="wrap"> </div> </div>
and using http://www.inserthtml.com/2013/01/scroll-pagination/
please me.
Comments
Post a Comment