? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/public_html/old/promice/
File Upload :
Current File : /home/admin/public_html/old/promice/booklist.php

<? include("header.php");?>	<style type="text/css" media="screen">
		/*
			Load CSS before JavaScript
		*/
		
		/*
			Slides container
			Important:
			Set the width of your slides container
			Set to display none, prevents content flash
		*/
		#slides .slides_container {
			width:200px;

			display:none;
		}

		/*
			Each slide
			Important:
			Set the width of your slides
			If height not specified height will be set by the slide content
			Set to display block
		*/
		
		#slides .slides_container div {
			width:200px;

			display:block;
		}
		
		/*
			Slides container
			Important:
			Set the width of your slides container
			Set to display none, prevents content flash
		*/
		#slides_two .slides_container {
			width:200px;
			display:none;
		}

		/*
			Each slide
			Important:
			Set the width of your slides
			If height not specified height will be set by the slide content
			Set to display block
		*/
		
		#slides_two .slides_container div {
			width:200px;
			height:200px;
			display:block;
		}
		
		/*
			Slides container
			Important:
			Set the width of your slides container
			Set to display none, prevents content flash
		*/
		#slides_three .slides_container {
			width:200px;
			display:none;
		}

		/*
			Each slide
			Important:
			Set the width of your slides
			If height not specified height will be set by the slide content
			Set to display block
		*/
		
		#slides_three .slides_container div {
			width:200px;
			height:200px;
			display:block;
		}
		
		/* 
			Example only
		*/
		.pagination .current a {
			color:red;
		}
		hr {
			background:#efefef;
		}
	.style1 {	color: #21ACE5;
	font-weight: bold;
}
</style>
	
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script src="js/slides.min.jquery.js"></script>
	
<script>
		$(function(){
			$('#slides').slides({
				generateNextPrev: false,
				generatePagination: false,
				autoHeight: true,
				play: 2500
			});
			$('#slides_two').slides({
				generateNextPrev: false,
				generatePagination: false,
				autoHeight: true,
				play: 4500
			});
			$('#slides_three').slides({
				generateNextPrev: false,
				play: 6500,
				generatePagination: false,
				autoHeight: true
				
			});
			
			/*
				You could also combin them all
				But you can't customize each this way
				
				$('#slides,#slides_two,#slides_three').slides({
					preload: true,
					generateNextPrev: true
				});
			*/

			/*	
				Or use a class for all three
				If all three had class="slides"
				Same here can't customize each this way
				
				$('.slides').slides({
					preload: true,
					generateNextPrev: true
				});
			*/
		});
	</script><table width="1001" border="0" align="center" cellpadding="0" cellspacing="0">
  <!-- fwtable fwsrc="Untitled" fwbase="home.jpg" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
  <tr>
   <td width="423"><img src="images/spacer.gif" width="423" height="1" border="0" alt=""></td>
   <td width="16"><img src="images/spacer.gif" width="16" height="1" border="0" alt=""></td>
   <td width="225"><img src="images/spacer.gif" width="225" height="1" border="0" alt=""></td>
   <td width="315"><img src="images/spacer.gif" width="315" height="1" border="0" alt=""></td>
   <td width="21"><img src="images/spacer.gif" width="21" height="1" border="0" alt=""></td>
   <td width="10"><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
  </tr>

  
  <tr>
    <td colspan="5" bgcolor="#FFFFFF"><div align="center"> 
        <table width="998" border="0" cellspacing="0" cellpadding="0">
          <tr valign="top"> 
            <td width="204"><? include("menu.php");?></td>
            <td width="794"><table width="100%" border="0" cellspacing="1" cellpadding="1">
                <tr> 
                  <td width="99%" height="49" background="images/tabblank.jpg"><span style="font-size: 12pt; color: #FFF; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold;">&nbsp;&nbsp;<strong> 
                  
                  </strong></span></td>

                </tr>
                <tr>
                  <td><?
$pages = $_GET['pages'];
$select_types="select * from book";
$query_selects=mysql_query($select_types);
$num_rowss=mysql_num_rows($query_selects);

if($num_rowss<1){
echo "<br><br><center><b>ยังไม่มีการเพิ่มข้อมูลค่ะ</b></center>";
}else{
		$selects="select * from book order by id desc";
		$q_rys = mysql_query($selects);
	 	$num_rowss=mysql_num_rows($q_rys);
  		$pagesizes=10;
		$rts=$num_rowss%$pagesizes;
		if($rts!=0)
			{
				$totalpages=floor($num_rowss/$pagesizes)+1;
			}
		else
			{
				$totalpages=floor($num_rows/$pagesizes);
				$toppic_ids=1;
			}
		if(empty($pages))
			{
				$pages=1;
			}
		mysql_free_result($q_rys);
		$gotos=($pages-1)*$pagesizes;
$sql_select_mems="Select * From book order by id desc limit $gotos,$pagesizes";
		$fects=mysql_query($sql_select_mems);
		if(!$fects)
		{
		("µÔ´µèÍ°Ò¹¢éÍÁÙÅäÁèä´é".mysql_error());
		exit;
		}

	  $bgcounts=0;
	while($rowss=mysql_fetch_array($fects))
	{
$idxs =$rowss['id'];
$productsNameShow = $rowss['title'];
$imagespicture = $rowss['cover1'];
$content = $rowss[message];
$bgcounts=$bgcounts+1;
$bgmods=$bgcounts%2;
if($bgmods==0){
	$bgcolors="#E9E9E8";
}else{
	$bgcolors="#FFFFFF";
}
	?>
                    <table width="600" border="0" cellspacing="1" cellpadding="1" >
                      <tr>
                        <td width="611" height="23"><div align="left" ></div>
                          <div align="left"></div>
                          <div align="center"> </div>
                          <div align="left">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0" >
                              <tr>
                                <td width="33%" rowspan="2" align="center"><? 
							if ($imagespicture==""){
							echo "
			<img src='images/images_article/no_pic.jpg' WIDTH=150 HEIGHT=150 BORDER=0>";
							}else
							{
echo "<a href=$imagespicture  class=lightbox rel=flowers><img src='$imagespicture' WIDTH=200  BORDER=0></a>"      ;
			}
?></td>
                                <td width="67%" height="104" align="right" valign="top"><table width="370" border="0" cellspacing="0" cellpadding="0">
                                  <tr>
                                    <td width="350"><div align="left" style="font-size: 12pt; color: #00ADEF; font-family: Verdana, Arial, Helvetica, sans-serif"><? echo "<a href=book.php?id=$idxs>$productsNameShow</a>"; ?></div><fb:like layout="button_count' href='http://thebridgesmagazine.com/book.php?id='$idxs' "></fb:like></td>
                                  </tr>
                                  <tr>
                                    <td><? echo "$content"; ?></td>
                                  </tr>
                                </table></td>
                              </tr>
                              <tr>
                                <td align="right" valign="top"><a href="book.php?id=<?=$idxs?>"><img src="images/read_more_bg.gif" width="76" height="21" border="0" /></a></td>
                              </tr>
                            </table>
                          </div></td>
                      </tr>
                      <tr>
                        <td height="21"><div align="left" style="font-size: 8pt; color: #00ADEF; font-family: Verdana, Arial, Helvetica, sans-serif"><img src="images/line.gif" width="600" height="5" /></div></td>
                      </tr>
                  </table>                    <?
}
}
?></td>
                  <td width="1%" rowspan="3" align="left" valign="top">&nbsp;</td>
                </tr>
                <tr> 
                  <td>&nbsp;</td>
                </tr>
                <tr> 
                  <td>&nbsp;</td>
                </tr>
            </table></td>
          </tr>
        </table>
      </div></td>
   <td><img src="images/spacer.gif" width="1" height="25" border="0" alt=""></td>
  </tr>
</table><? include("footer.php");?>

</body>
</html>

T1KUS90T
  root-grov@210.1.60.28:~$