Jump to content
php.lv forumi

Lancom

Reģistrētie lietotāji
  • Content Count

    18
  • Joined

  • Last visited

About Lancom

  • Rank
    Māceklis
  1. Saglaba faili utf-8 formate bez nekadie utf-8 + bom es iesaku lietot phpDesigner 7 lai nomainitu kodejumu!
  2. vajag palidziba negrib izmest erroru kad visi lauki nau aizpilditi.. visu laiku rada Tu Esi vieksmigi regestrejies. kad visi lauki ir tuksi. es ajax tiko macos bet man vajag palidziba. ar so scriptu. <form action="" method="post" id="signup"> <input type="text" name="username" id="username" /> <input type="password" name="password" id="password" /> <input type="password" name="password_confirm" id="password_confirm" /> <input type="text" name="email" id="email" /> <button>Register</button> </form> <div class="success" style="display: no
  3. Lancom

    Noutpads

    Vajag saglabat utf-8 bez BOM tad bus redzami garumzimes!
  4. sorry for double post... VAR Topiku close. izlaboju so gluku ar sa skripta polidzibu ".(mb_substr($row['name'], 0,15, 'utf-8'))."
  5. pats videos.php fails saglabats utf-8 formata lai uzraditu krievu burtus un utt. tika maisa sitais visas video nosaukumus
  6. izdariju caur funkciju saisinat bet vidio kadi kvadrati uzrada BOM ELEMENTS nezinu ka vini var izdzest!
  7. help video script name shorter nestrada. kr4 man negrib samazinaties video nosaukums, un vel neuzrada video nosaukumu. <?php if($logged_in) { ?> <a href="/videos/" class="menu"><b>Видео</b></a> <div class="dotted_hr"> </div> <br /> <?php define("INCLUDES_DIR","includes/"); include INCLUDES_DIR . "config.php"; function pagination($count,$perpage) { echo "<div class=\"pagination\">\r"; $between = 5; $pages = ceil($count/$perpage); if($pages<2) { echo ""; } $page = (empty($_GET['p']) || $_GET['p']<2) ?
  8. Up,Soory for double post..
  9. tatad ka es vis samainiju nerada vair Division By Zero. Pagination.php pagination_data.php tagad vajag lai paraditos pagination bet viņš negrib paradities. var_dump($perpage); visu parbaudiju paradija int(3);
  10. bez ajax vis strada perfekti. tas vins iskatas bez ajax <?php function pagination($count,$perpage) { echo "<ul id=\"pagination\">"; $between = 5; $pages = ceil($count/$perpage); if($pages<2) { echo ""; } $page = (empty($_GET['p']) || $_GET['p']<2) ? 1 : $_GET['p']; $first = $page >= $between+1 ? $page-$between : 1; $last = $page <= $pages-$between ? $page+$between : $pages; if($page>1) { $p.= sprintf('<a href="?p=1">«</a><a href="?p=%d">‹</a>', $page-1); } for($i=$first;$i<$last
  11. jquery_pagination.js $(document).ready(function(){ //Display Loading Image function Display_Load() { $("#loading").fadeIn(900,0); $("#loading").html("<img src='bigLoader.gif' />"); } //Hide Loading Image function Hide_Load() { $("#loading").fadeOut('slow'); }; //Default Starting Page Results $("#pagination li:first").css({'color' : '#FF0084'}).css({'border' : 'none'}); Display_Load(); $("#content").load("ap/pagination_data.php?p=1", Hide_Load()); //Pagination Click $("#pagination li").click(function(){ Display_Load(); //CSS Styles $("#pagination li") .css({'bor
  12. tev vajag video scriptu kurs savienots ar IPB Forumu vai bez IPB foruma ?
  13. Вот правильный чтобы отображало garumzimes! mysql_query("SET NAMES utf8 COLLATE utf8_general_ci");
  14. var Topic close es so realizeju so funkciju caur php scriptu!
  15. help ar js katram brauzerim savs stills. kr4 man problema ir tada IE parada ka fons ir melns bet kur firefox.css neperada #EEEEEE fonu! es js 20 % tikai zinu! <script type="text/javascript"> DOM = document.getElementById; Netscape4 = document.layer; Netscape6 = Mozilla = (navigator.appName == "Netscape") && DOM; Netscape7 = navigator.userAgent.indexOf("Netscape/7") >= 0; Opera5 = window.opera && DOM; Opera6 = Opera5 && window.print; Opera7 = Opera5 && navigator.userAgent.indexOf("Opera 7") >= 0; Opera8 = navigator.userAgent.indexOf("Opera/8
×
×
  • Create New...