Странициране

Formula1

Registered
Как да направя странициране. Искам да страницирам тази галерия. Lightbox image viewer 2.03a
 
http://web-tourist.net/login/login/view.php?st=2512
http://web-tourist.net/login/login/view.php?st=2317
http://web-tourist.net/login/login/view.php?st=1908
http://web-tourist.net/login/login/view.php?st=740
http://web-tourist.net/login/login/view.php?st=955
 
Можете ли на този код да ми сложите страницирането?
Код:
<?php
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './forum/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);

// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('viewforum');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Formula 1 :: Новини, статии, коментари и всичко останало от света на 
Формула 1</title>
<meta name="keywords" content="KEYWORD,KEYWORD,KEYWORD" />
<meta name="description" content="DESCRIPTION ABOUT YOUR PAGE GOES HERE." />
<meta name="robots" content="index, follow" />
<LINK REL="SHORTCUT ICON" HREF="favicon.ico"> 
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="animatedcollapse.js">

/***********************************************
* Animated Collapsible DIV v2.2- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/

</script>
<script type="text/javascript" src="gallery/js/prototype.js"></script>
<script type="text/javascript" src="gallery/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="gallery/js/lightbox.js"></script>
<link rel="stylesheet" href="gallery/css/lightbox.css" type="text/css" media="screen" />

<script type="text/javascript">

animatedcollapse.addDiv('jason', 'fade=1,height=300px')
animatedcollapse.addDiv('kelly', 'fade=1,height=100px')
animatedcollapse.addDiv('michael', 'fade=1,height=120px')

animatedcollapse.addDiv('cat', 'fade=0,speed=400,group=pets')
animatedcollapse.addDiv('dog', 'fade=0,speed=400,group=pets,persist=1,hide=1')
animatedcollapse.addDiv('rabbit', 'fade=0,speed=400,group=pets,hide=1')

animatedcollapse.ontoggle=function($, divobj, state){ //fires each time a DIV is expanded/contracted
	//$: Access to jQuery
	//divobj: DOM reference to DIV being expanded/ collapsed. Use "divobj.id" to get its ID
	//state: "block" or "none", depending on state
}

animatedcollapse.init()

</script>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<body> 

<table width="821" border="0" align="center" cellpadding="0" cellspacing="0" id="table6">
  <tr>
    <td class="Navigation">
	<table border="0" width="100%" id="table7">
		<tr>
			<td><b><font color="#FFFFFF" size="2">Гран при на </font>
			<font size="2" color="#FF0000">Монако</font><font color="#FFFFFF" size="2"> 
 			след: <script type="text/javascript"> 
function countdown_clock(year, month, day, hour, minute, format)
         {
         //I chose a div as the container for the timer, but
         //it can be an input tag inside a form, or anything
         //who's displayed content can be changed through
         //client-side scripting.
         html_code = '<b id="countdown"></b>';
         
         document.write(html_code);
         
         countdown(year, month, day, hour, minute, format);                
         }
         
function countdown(year, month, day, hour, minute, format)
         {
         Today = new Date();
         Todays_Year = Today.getFullYear() - 2000;
         Todays_Month = Today.getMonth() + 1;                  
         
         //Convert both today's date and the target date into miliseconds.                           
         Todays_Date = (new Date(Todays_Year, Todays_Month, Today.getDate(), 
                                 Today.getHours(), Today.getMinutes(), Today.getSeconds())).getTime();                                 
         Target_Date = (new Date(year, month, day, hour, minute, 00)).getTime();                  
         
         //Find their difference, and convert that into seconds.                  
         Time_Left = Math.round((Target_Date - Todays_Date) / 1000);
         
         if(Time_Left < 0)
            Time_Left = 0;
         
         switch(format)
               {
               case 0:
                    //The simplest way to display the time left.
                    document.all.countdown.innerHTML = Time_Left + ' seconds';
                    break;
               case 1:
                    //More datailed.
                    days = Math.floor(Time_Left / (60 * 60 * 24));
                    Time_Left %= (60 * 60 * 24);
                    hours = Math.floor(Time_Left / (60 * 60));
                    Time_Left %= (60 * 60);
                    minutes = Math.floor(Time_Left / 60);
                    Time_Left %= 60;
                    seconds = Time_Left;
                    
                    dps = 's'; hps = 's'; mps = 's'; sps = 's';
                    //ps is short for plural suffix.
                    if(days == 1) dps ='';
                    if(hours == 1) hps ='';
                    if(minutes == 1) mps ='';
                    if(seconds == 1) sps ='';
                    
                    document.getElementById('countdown').innerHTML = '<strong>'+days + '</strong>д.' + ' ';
                    document.getElementById('countdown').innerHTML +='<strong>'+hours + '</strong>ч.' + ' ';
                    document.getElementById('countdown').innerHTML +='<strong>'+minutes + '</strong>мин.' + ' и ';
                    document.getElementById('countdown').innerHTML +='<strong>'+seconds + '</strong>сек.';
                    break;
               default: 
                    document.getElementById('countdown').innerHTML = Time_Left + ' seconds';
               }
               
         //Recursive call, keeps the clock ticking.
         setTimeout('countdown(' + year + ',' + month + ',' + day + ',' + hour + ',' + minute + ',' + format + ');', 1000);
         }
</script> 
<body> 
<script type="text/javascript">countdown_clock(09, 05, 24, 15, 00, 1);</script></font></strong>
</font></font></b></td>
		</tr>
	</table>
	</td>
  </tr>
</table>

<table width="821" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td class="BannerBack">
	 </td>
  </tr>
</table>

<table width="821" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
     <td class="Navigation"><style type="text/css">
	@import url(menu/1/menu_style.css); 
</style>
</head>
<body>

<ul id="menu">
	<li><a href="index.php" title="НАЧАЛО"><font size="2">НАЧАЛО</font></a></li>
	<li><a href="news.php" title="НОВИНИ"><font size="2">НОВИНИ</font></a></li>
	<li><a href="http://formula1.byethost17.com/forum/" title="ФОРУМ"><font size="2">ФОРУМ</font></a></li>
	<li><a href="reklama.php" title="РЕКЛАМА"><font size="2">РЕКЛАМА</font></a></li>
	<li><a href="kontakti.php" title="КОНТАКТИ"><font size="2">КОНТАКТИ</font></a></li>
</ul>
</td>
  </tr>
</table>

<table width="821" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="185" class="ContentLeftBack"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="LeftTop">Навигация</td>
      </tr>
      <tr>
        <td class="LeftMenu"><b>
		<a href="index.php" style="text-decoration: none"><font color="#555555">Начало</font></a></b></td>
      </tr>
      <tr>
        <td class="LeftMenu"><b><a href="news.php" class="black"><font color="#555555">
		Новини</font></a></b></td>
      </tr>
      <tr>
        <td class="LeftMenu"><b><a href="http://formula1.byethost17.com/forum/" class="black"><font color="#555555">
		Форум</font></a></b></td>
      </tr>
      <tr>
        <td class="LeftMenu"><b><a href="klasirane.php" class="black"><font color="#555555">
		Класиране</font></a></b></td>
      </tr>
      <tr>
        <td class="LeftMenu"><b><a href="piloti.php" class="black"><font color="#555555">
		Пилоти</font></a></b></td>
      </tr>
		<tr>
        <td class="LeftMenu"><b><a href="kalendar.php" class="black"><font color="#555555">
		Календар</font></a></b></td>
      </tr>
      <tr>
        <td class="LeftMenu"><b><a href="reklama.php" class="black"><font color="#555555">
		Реклама</font></a></b>
        </td>
      </tr>
		<tr>
        <td class="LeftMenu"><b><a href="kontakti.php" class="black"><font color="#555555">
		Контакти</font></a></b></td>
      </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="LeftTop">Победител</td>
        </tr>
        <tr>
          <td class="LeftBackground">
			<table width="154" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td width="154">
				<p style="margin-top: 0; margin-bottom: 0">
				<img border="0" src="http://formula1.sportal.bg/uploads/images/news/2009_05/img_20090510_0001_mid.jpg" width="154" height="115" border="1"></p>
				<hr>
				<p align="center" style="margin-top: 0; margin-bottom: 0">
				<font color="#CC0000" size="2"><strong>10 Май 2009</strong></font></p>
				<hr>
				<p style="margin-top: 0; margin-bottom: 0;" align="center">
				<b><font size="1" color="#333333">Поредна двойна победа на BROWNGP този път в Испания</font></b></p>
				<hr>
				<p style="margin-top: 0; margin-bottom: 0" align="center">
				<font color="#CC0000" size="1"><b>Нов провал за Ферари, трети Уебър </b></font></td>
            </tr>
            </table></td>
        </tr>
      </table>

</body>
</html>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" id="table10">
        <tr>
          <td class="LeftTop">Реклама</td>
        </tr>
        <tr>
          <td class="LeftBackground">
			<table width="154" border="0" align="center" cellpadding="0" cellspacing="0" id="table11">
            <tr>
              <td width="154">
				<p align="center" style="margin-top: 0"><a href="http://formula1.bg/">
<img border="0" src="images/Logo1(21)[1].jpg" width="88" height="31"></a></div>
 				</p>
 <div align="center">
<a href="http://clubf1.net/">
<img border="0" src="images/c7b3728a91d1b624a254167005295206[1].gif" width="88" height="31"></a></div>
	<p align="center" style="margin-bottom: -3px"><a href="http://UserBars-BG.com" target="_blank"><img
src="http://www.userbars-bg.com/banners/Banner%2088x31.jpg"
alt="Българският сайт за UserBars!" border="0" /></a></td>
            </tr>
            <tr>
              <td>
				<ul>
					<li>
					<p align="left" style="margin-top: 3px; margin-bottom: 3px"><b><font color="#CC0000" size="1">
					<a href="http://Formula1.BG"><font color="#CC0000">
					Formula1.BG
					</font></a></font></b></li>
					<li>
					<p align="left" style="margin-top: 3px; margin-bottom: 3px"><font size="1" color="#CC0000"><b>
					<a href="http://clubf1.net/"><font color="#CC0000">ClubF1</font></a></b></font></li>
					<li>
					<p align="left" style="margin-top: 3px; margin-bottom: 3px"><font size="1" color="#CC0000"><b>
					<a href="http://kaldata.com/"><font color="#CC0000">IT
					</font><span lang="bg"><font color="#CC0000">Новини</font></span></a></b></font></li>
					<li>
					<p align="left" style="margin-top: 3px; margin-bottom: 3px"><b><font color="#CC0000" size="1">
					<a href="http://sound-bg.com"><font color="#CC0000">
					Sound-bg.com
					</font></a></font></b></li>
					<li>
					<p align="left" style="margin-top: 3px; margin-bottom: -15px"><span lang="bg">
					<font size="1" color="#CC0000"><b>Вашият линк тук?</b></font></span></li>
				</ul>
</td>
            </tr>
          </table><hr>
			<p style="margin-top: 3px; margin-bottom: 0px">
<script language="javascript" src="http://www.reklamnamreja.com/bnr_show.php?id=63968&s=15&c=0|"></script>
</td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" id="table4">
        <tr>
          <td class="LeftTop"><span lang="bg">Статистика</span></td>
        </tr>
        <tr>
          <td class="LeftBackground">
			<table width="144" border="0" align="center" cellpadding="0" cellspacing="0" id="table5">
            <tr>
              <td width="144">
				<p align="center" style="margin-top: 0">
				<a href="http://bgtop.net/in.php/1238428070">
<img src="images/f1-bgtop.jpg" border="0"></a></td>
            </tr>
            <tr>
              <td><font size="1"></font></td>
            </tr>
            <tr>
              <td><script  type="text/javascript">

d=document;
d.write('<a href="http://www.tyxo.bg/?73091" title="Tyxo.bg counter" target=" blank"><img width="88" height="31" border="0" alt="Tyxo.bg counter"');
d.write(' src="http://cnt.tyxo.bg/73091?rnd='+Math.round(Math.random()*2147483647));
d.write('&sp='+screen.width+'x'+screen.height+'&r='+escape(d.referrer)+'" /><\/a>');
//-->
</script>
<noscript><a href="http://www.tyxo.bg/?73091" title="Tyxo.bg counter" target=" blank"><img src="http://cnt.tyxo.bg/73091" width="88" height="31" border="0" alt="Tyxo.bg counter" /></a></noscript>

</div>
</td></tr>
          </table>
			<p>
<script type="text/javascript">
//
</script>
<noscript><a href="http://wstats.org/35" title="" target="blank"><img src="http://wstats.org/c?s=35&img=3&no_text" border="0" alt="" /></a></noscript>

</td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" id="table8">
        <tr>
          <td class="LeftTop"><span lang="bg">Часовник</span></td>
        </tr>
        <tr>
          <td class="LeftBackground">
			<table width="154" border="0" align="center" cellpadding="0" cellspacing="0" id="table9">
            <tr>
              <td width="154">
				<p align="center" style="margin-top: 0; margin-bottom: 0">
				<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj2" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="154" height="154">
					<param name="movie" value="flash/flash/clock7.swf">
					<param name="quality" value="High">
					<embed src="flash/flash/clock7.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj2" width="154" height="154"></object>
				</td>
            </tr>
            </table></td>
        </tr>
      </table>
      </td>
    <td width="636" class="ContentRightBack">
      <table width="636" border="0" cellspacing="0" cellpadding="0" id="table20">
        <tr>
          <td width="546" class="HeaderContent">Реклама</td>
        </tr>
      </table>
      <table width="636" border="0" cellspacing="0" cellpadding="0" id="table21">
        <tr>
          <td width="132" class="Padding">
			<p align="center"><b><font size="1">Искате вашата реклама да е на 
			това място? Пишете ни на скайп<span lang="en-us">: <u>dankata.bg</u></span> 
			за повече информация!</font></b></td>
          <td width="504" class="Text">
<? include("view468x60.php"); ?> </td>
        </tr>
      </table>
      <table width="636" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="546" class="HeaderContent">Галерия</td>
        </tr>
      </table>
      <table width="636" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="504" class="Text"><a href="gallery/gal/1.jpg" rel="lightbox[roadtrip]">
			<img src="gallery/gal/1.jpg" border="0" width="160" height="100"></a>
<a href="gal/2.jpg" rel="lightbox[roadtrip]">
			<img src="gallery/gal/2.jpg" border="0" width="160" height="100"></a>
<a href="gallery/gal/3.jpg" rel="lightbox[roadtrip]">
			<img src="gallery/gal/3.jpg" border="0" width="160" height="100"></a>
</td>
        </tr>
      </table>
      <table width="636" border="0" cellspacing="0" cellpadding="0" id="table19">
        <tr>
          	<br>
        </tr>
      </table>
      <table width="636" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="523" class="HeaderContent">Гореща новина</td>
        </tr>
      </table>
      <table width="636" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="132" class="Padding">
			<p align="center">
<img src="http://formula1.sportal.bg/uploads/images/news/2009_04/img_20090430_0005.jpg" alt="" align="left" width="186" height="126" ></td>
          <td width="504" class="Text">
			<p style="margin-top: 0; margin-bottom: 3px"><strong>Официално: ФИА забрани зареждането с гориво във Ф1 по време на състезание</strong></p>
<p>Международната автомобилна федерация (ФИА) потвърди днес решенията на Световния съвет, след заседанието в Париж вчера. От 2010 година зареждането с гориво по време на състезание се забранява, с цел намаляване на разходите и насърчаване на инженерната мисъл за двигателите. Така инженерите ще бъдат изправени през нови предизвикателства, за да направят моторите по-икономични и по-леки. От 2010 година се забраняват и т.нар. чохли (устройствата, които подгряват гумите). Също така забраната за всички други системи подгряващи гумите остава и догодина.   </p>
			</td>
        </tr>
      </table>
      <table width="636" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="523" class="HeaderContent">Реклама</td>
        </tr>
      </table>
      <table width="636" border="0" cellspacing="0" cellpadding="0" height="163">
        <tr>
          <td width="132" class="Padding">
			<p align="center" style="margin-top: 10px; margin-bottom: 0">
			<img border="0" src="images/banners/88x31.gif" width="88" height="31"></p>
			<p align="center">
			<img border="0" src="images/banners/88x31.gif" width="88" height="31"></p>
			<p align="center">
			<img border="0" src="images/banners/88x31.gif" width="88" height="31"></td>
          <td width="504" class="Text">
			<p style="text-align: center; margin-top: 8px; margin-bottom: 0">
			 
<script language="javascript" src="http://www.reklamnamreja.com/bnr_show.php?id=63968&s=1&c=0|"></script>
</p>
			<hr>
			<p style="text-align: center; margin-top: 0; margin-bottom: 0">
			<img border="0" src="images/banners/468x60-1.jpg" width="468" height="60"></td>
        </tr>
      </table>
      <table width="636" border="0" cellspacing="0" cellpadding="0" id="table23">
        <tr>
          <td width="523" class="HeaderContent">Реклама</td>
        </tr>
      </table>
      <table width="636" border="0" cellspacing="0" cellpadding="0" height="163" id="table24">
        <tr>
          <td width="504" class="Text">
			 
<script language="javascript" src="http://www.reklamnamreja.com/textads.php?bo=0099ff&ti=000000&txt=cc0000&bg=FFFFFF&s=1&nw=0&id=63968&c="></script>
</td>
        </tr>
      </table>
    <p style="text-align: center; margin-top: 0; margin-bottom: 0"> <img border="0" src="images/navigation.gif" width="636" height="3" /></p>	  <p style="text-align: center; margin-top: 0; margin-bottom: 0"></td>
  </tr>
</table>

<table width="821" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td class="Footer">Дизайн: Даниел Бибов | <b>Copyright © 200<span lang="en-us">9</span> <span lang="en-us">
	Formula 1</span></b> | Всички права запазени!</td>
  </tr>
</table>
</body>
</html>
 

Back
Горе