Results 1 to 1 of 1

Thread:

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User a_panov's Avatar
    Join Date: Mar:2005
    Location: Sofia
    Posts: 45

    :
    http://web-tourist.net/login/login/view.php?st=1563
    !!!

    !!!
    http://www.karatebulgaria.com/alex/i...gs/working.jpg
    - 6+
    !!! echo print :
    http://www.karatebulgaria.com/alex/i...nonworking.jpg
    . .

    index.php
    Code:
    <?php
    session_start();
    ?>
    
    <?php
    //include ($_SERVER['DOCUMENT_ROOT']."/evitatrade/include/db_connection.php");
    //include ($_SERVER['DOCUMENT_ROOT']."/evitatrade/include/functions.php");
    if ($_REQUEST[chlang]) 
    {
    	if (file_exists($_SERVER['DOCUMENT_ROOT']."/evitatrade/2/include/".$_REQUEST[chlang].'.php')) 
    	{
    		session_register("chlang");
    		$_SESSION['chlang']=$_REQUEST['chlang'];
    	}
    }
    /*
    if (!$_SESSION['chlang']) {
    include ($_SERVER['DOCUMENT_ROOT']."/evitatrade/1/include/bg.php"); //     
    } else {
    include ($_SERVER['DOCUMENT_ROOT']."/evitatrade/1/include/".$_SESSION[chlang].'.php'); //echo $_SESSION[chlang];
    }
    */
    if (!$_SESSION['chlang']) 
    {
    	if (substr($_SERVER["HTTP_ACCEPT_LANGUAGE"],0,2) == "ru")
    	{
    		include ($_SERVER['DOCUMENT_ROOT']."/evitatrade/2/include/ru.php");//     	
    	}
    	else
    	{
    		if (substr($_SERVER["HTTP_ACCEPT_LANGUAGE"],0,2) == "bg")
    		{
    			include ($_SERVER['DOCUMENT_ROOT']."/evitatrade/2/include/bg.php");//     	
    		}
    		else
    		{ 
    			include ($_SERVER['DOCUMENT_ROOT']."/evitatrade/2/include/en.php");//     	
    		}
    	}
    	//include ($_SERVER['DOCUMENT_ROOT']."/evitatrade/1/include/bg.php"); //     	
    } 
    else 
    {
    	if ((stristr($_SESSION[chlang], 'http:') === FALSE) and (stristr($_SESSION[chlang], 'https:') === FALSE) and (stristr($_SESSION[chlang], 'ftp:') === FALSE)) 
    	{ 
    		include ($_SERVER['DOCUMENT_ROOT']."/evitatrade/1/include/".$_SESSION[chlang].'.php'); //echo $_SESSION[chlang];
    	}
    	else
    	{ 
    		include ($_SERVER['DOCUMENT_ROOT']."/evitatrade/1/include/bg.php");	}
    	}
    
    if (!$_REQUEST[p]) 
    {
    	//     Index.php   : main.php
    	include ('main.php');
    } 
    else 
    {
    	if (file_exists($_REQUEST[p].'.php')) 
    	{
    		//     
    		include ($_REQUEST[p].'.php');
    	} 
    	else 
    	{
    		//            main.php
    		print "<center><small><font color=red>".$lang[page_not_exist]."</font></small></center>";
    		include ('main.php');
    	}
    }
    ?>
    main.php -
    Code:
    <?php
    if ($_SESSION['chlang'] == "ru")
    	{
    		$title = "";//     	
    	}
    	else
    	{
    		if ($_SESSION['chlang'] == "bg")
    		{
    			$title = "";//     	
    		}
    		else
    		{ 
    			$title = "Home";//     	
    		}
    	}
    
    
    	$css = "include/evitatrade.css";
    	include ('head.php');
    	include ('menu.php');
    ?>
    <!--<div id="main">-->
    <h2>main</h2>
       -     -    ,           -     .           ,         . Evita Trade Ltd. - rural property consultants, specialise in traditional estates, farms, sporting rights and country houses. Based in Sofia, Bulgaria, we have a particular ability in putting a deal together and making it stick. , , ,  ,  ,  , , , ,  , , , ,  , , , , ,   , , , , , ,  , ,  , , , , , , , , 1-, 1-, , , , , , , , , , , ,  , ,  , , , , , ,  , , , , , , , , , , , , ,  ,  ,  , , , ,  , , , , , , , , , , , , , , , , , ,   ,   , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,  , ,  , , , ,  , , , , , , , , , , ,  , , , ,  ,  , , , , , , , , , Apartment, Bar, Cave house, Chalet, Commercial Property, Cortijo, Duplex, Farmhouse, Finca,
    
    <?php
    print $lang[hello];
    print " <a href=index.php?p=new_page>$lang[page2] >></a>";
    ?>
    <!--</div>-->
    <?php
    	include ('tail.php');
    ?>
    new_page.php -
    Code:
    <?php
    if ($_SESSION['chlang'] == "ru")
    	{
    		$title = " 1";//     	
    	}
    	else
    	{
    		if ($_SESSION['chlang'] == "bg")
    		{
    			$title = " 1";//     	
    		}
    		else
    		{ 
    			$title = "Test page 1";//     	
    		}
    	}
    
    	$css = "include/evitatrade.css";
    	require ('head.php');
    	require ('menu.php');
    ?>
    <!--<div id="main">-->
    <h2>2 </h2>
       -     -    ,           -     .           ,         . Evita Trade Ltd. - rural property consultants, specialise in traditional estates, farms, sporting rights and country houses. Based in Sofia, Bulgaria, we have a particular ability in putting a deal together and making it stick. , , ,  ,  ,  , , , ,  , , , ,  , , , , ,   , , , , , ,  , ,  , , , , , , , , 1-, 1-, , , , , , , , , , , ,  , ,  , , , , , ,  , , , , , , , , , , , , ,  ,  ,  , , , ,  , , , , , , , , , , , , , , , , , ,   ,   , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,  , ,  , , , ,  , , , , , , , , , , ,  , , , ,  ,  , , , , , , , , , Apartment, Bar, Cave house, Chalet, Commercial Property, Cortijo, Duplex, Farmhouse, Finca,
    
    <?php
    	print $lang[hello]." <a href=index.php><< ".$lang[page1]."</a>";
    ?>
    <!--</div>-->
    <?php
    	include ('tail.php');
    ?>
    3 head.php
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
    <html>
    <head>
    	<title><?php echo $title; ?></title>
    	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="shortcut icon" href="http://www.evitatrade.com/evitatrade/1/include/favicon.ico">
    	<link rel="stylesheet" type="text/css" href="<?php echo $css; ?>" >
    </head>
    <body>
    <table border="0" cellpadding="0" cellspacing="0" width="730"><!--   --><!--     -->
    	<tbody>
        <tr>
    		<td width="730">
    		
    		
    		
    		    <table bgcolor="#071c59" border="0" cellpadding="0" cellspacing="0" width="100%">
    		        <tbody>
    		        <tr>
    		            <td height="18" width="100%">
    						<!--        Company Logo  -->
    			            <p align="center"><img src="" height="5" width="1" alt=""></p>
    		            </td>
    		        </tr>
    		        </tbody>
    		    </table>
    
    			<table bgcolor="#071c59" border="0" cellpadding="0" cellspacing="0" width="100%"><!--         -->
    				<tbody>
    				<tr>
    					<td align="center" nowrap="nowrap" valign="middle" width="35%">
    						<p align="center"><font color="#ffffff" face="Arial Black" size="3"><?php echo $lang[header_text]; ?></font></p>
    					</td>
    					<td align="right" nowrap="nowrap" valign="bottom" width="25%">
    						<a href="http://www.evitatrade.com/"><img src="<?php echo $lang[header_picture]; ?>" align="right" border="0" height="60" width="468" alt="<?php print $lang[header_picture_alt]; ?>"></a>
    					</td>
    				</tr>
    				</tbody>
    			</table>
    
    		    <table bgcolor="#071c59" border="0" cellpadding="0" cellspacing="0" width="100%"><!--              -->
    				<tbody>
    				<tr>
    					<td width="44%">&nbsp;</td>
    					<td width="56%">
    					<p align="center"><font color="#ffffff" face="Verdana" size="1"><b>Visit our Sponsors</b></font></p>
    					</td>
    				</tr>
    				</tbody>
    			</table>
    			
    			
    			
    		</td>
        </tr>
    menu.php
    Code:
        <tr>
    		<td width="730"><!--           -->
    		
    		
    		
    		<table border="0" cellpadding="0" cellspacing="0" width="100%"><!--   3 , , -    -->
    			<tbody>
    			<tr>
    				<td align="left" bgcolor="#071c59" height="39" valign="top" width="144">
    					
    						<table border="0" cellpadding="0" cellspacing="2" width="144"><!--   -->
    							<tbody>
    							<tr>
    				                <td colspan="2"><img src="<?php print $lang[menu_pic_buyers]; ?>" border="0" height="20" width="119" alt=""><br></td>
    							</tr>		
    							<tr>
    								<td align="right" width="7"><div class="bull">&nbsp;&bull;</div></td>
    								<td align="left" width="123">&nbsp; <a class="menu" href="http://www.onlinerealtysales.com/"><?php print $lang[menu_newest]; ?></a></td>
    							</tr>
    							<tr>
    								<td align="right" width="7"><div class="bull">&nbsp;&bull;</div></td>
    								<td align="left" width="123">&nbsp; <a class="menu" href="http://www.onlinerealtysales.com/"><?php print $lang[menu_residential]; ?></a></td>
    							</tr>
    							<tr>
    								<td align="right" width="7"><div class="bull">&nbsp;&bull;</div></td>
    								<td align="left" width="123">&nbsp; <a class="menu" href="http://www.onlinerealtysales.com/"><?php print $lang[menu_houses]; ?></a></td>
    							</tr>
    							<tr>
    								<td align="right" width="7"><div class="bull">&nbsp;&bull;</div></td>
    								<td align="left" width="123">&nbsp; <a class="menu" href="http://www.onlinerealtysales.com/"><?php print $lang[menu_bussiness]; ?></a></td>
    							</tr>
    							<tr>
    								<td align="right" width="7"><div class="bull">&nbsp;&bull;</div></td>
    								<td align="left" width="123">&nbsp; <a class="menu" href="http://www.onlinerealtysales.com/"><?php print $lang[menu_land]; ?></a></td>
    							</tr>
    							<tr>
    								<td align="right" width="7"><div class="bull">&nbsp;&bull;</div></td>
    								<td align="left" width="123">&nbsp; <a class="menu" href="http://www.onlinerealtysales.com/"><?php print $lang[menu_search]; ?></a></td>
    							</tr>
    							<tr>
    								<td colspan="2"><br><img src="<?php print $lang[menu_pic_sellers]; ?>" border="0" height="20" width="119" alt=""><br></td>
    							</tr>	
    							<tr>
    								<td align="right" width="7"><div class="bull">&nbsp;&bull;</div></td>
    								<td align="left" width="121">&nbsp; <a class="menu" href="http://www.onlinerealtysales.com/"><?php print $lang[menu_new_ad]; ?></a></td>
    							</tr>
    							<tr>
    								<td align="right" width="7"><div class="bull">&nbsp;&bull;</div></td>
    								<td align="left" width="121">&nbsp; <a class="menu" href="http://www.onlinerealtysales.com/"><?php print $lang[menu_redaktirai]; ?></a></td>
    							</tr>
    							<tr>
    								<td align="right" width="7"><div class="bull">&nbsp;&bull;</div></td>
    								<td align="left" width="121">&nbsp; <a class="menu" href="http://www.onlinerealtysales.com/"><?php print $lang[menu_saveti]; ?></a></td>
    							</tr>
    							<tr>
    								<td colspan="2"><br><img src="<?php print $lang[menu_pic_ordinary]; ?>" border="0" height="20" width="119" alt=""><br></td>
    							</tr>
    							<tr>
    								<td align="right" width="7"><div class="bull">&nbsp;&bull;</div></td>
    								<td align="left" width="121">&nbsp; <a class="menu" href="http://www.onlinerealtysales.com/"><?php print $lang[menu_about_us]; ?></a></td>
    							</tr>
    							<tr>
    								<td align="right" width="7"><div class="bull">&nbsp;&bull;</div></td>
    								<td align="left" width="121">&nbsp; <a class="menu" href="http://www.onlinerealtysales.com/"><?php print $lang[menu_services]; ?></a></td>
    							</tr>
    							<tr>
    								<td align="right" width="7"><div class="bull">&nbsp;&bull;</div></td>
    								<td align="left" width="121">&nbsp; <a class="menu" href="http://www.onlinerealtysales.com/"><?php print $lang[menu_projects]; ?></a></td>
    							</tr>
    							<tr>
    								<td align="right" width="7"><div class="bull">&nbsp;&bull;</div></td>
    								<td align="left" width="121">&nbsp; <a class="menu" href="http://www.onlinerealtysales.com/"><?php print $lang[menu_links]; ?></a></td>
    							</tr>
    -							<tr>
    								<td align="right" width="7"><div class="bull">&nbsp;&bull;</div></td>
    								<td align="left" width="121">&nbsp; <a class="menu" href="http://www.onlinerealtysales.com/"><?php print $lang[menu_contact_us]; ?></a></td>
    							</tr>
    							</tbody>
    						</table>
    
    <p align="center">
    
    	<a href="index.php?p=<?php print $_REQUEST[p];?>&chlang=bg"><img src="include/images/bg.gif" border="0" alt="" /></a>&nbsp;
    	<a href="index.php?p=<?php print $_REQUEST[p];?>&chlang=ru"><img src="include/images/ru.gif" border="0" alt="" /></a>&nbsp;
    	<a href="index.php?p=<?php print $_REQUEST[p];?>&chlang=en"><img src="include/images/en.gif" border="0" alt="English" /></a><br>
    
    <a href="http://validator.w3.org/check?uri=referer"><img border="0" src="http://www.w3.org/Icons/valid-html40" alt="Valid HTML 4.0 Transitional" height="31" width="88"></a><br>
    <a href="http://jigsaw.w3.org/css-validator/validator?uri=http://www.evitatrade.com/evitatrade/a.css"><img border="0" src="http://pascal.priv.at/1/vcss.png" alt="Valid CSS!" title="This WEB site is with validate CSS code!"></a>
    </p>
    
    					</td><!--     -->
    					<td align="left" height="245" valign="top" width="35"><img src="include/images/topangle.gif" height="34" width="30" alt=""></td><!--     -->
    					<td align="left" height="245" valign="top" width="628"><!--    -->
    					
    						<div align="left">
    tail.php
    Code:
    </div>
    						
    					</td><!--    -->
    				</tr>
    				<tr><!--     -->
    					<td align="left" bgcolor="#071c59" width="455">&nbsp;</td>
    					<td align="left" height="1" valign="bottom" width="35"><img src="include/images/bottomangle.gif" height="34" width="30" alt=""></td>
    					<td height="1" nowrap="nowrap" width="628"></td>
    				</tr>
    				</tbody>
    			</table>
    			
    		</td>
    	</tr><!--           -->
    	<tr>
    		<td width="730">
    	  
    		    <table bgcolor="#26353f" border="0" cellpadding="0" cellspacing="0" width="100%">
    				<tbody>
    					<tr>
    			            <td align="center" bgcolor="#071c59" valign="middle" width="100%">
    						<a href="main.php" class="footer"><?php print $lang[footer_home]; ?></a>
    			            <span class="footer"> | </span>
    			            <a href="privacy/index.php" class="footer"><?php print $lang[footer_privacy]; ?></a>
    			            <span class="footer"> | </span>
    			            <a href="terms/index.php" class="footer"><?php print $lang[footer_terms]; ?></a>
    						<span class="footer"> | </span>
    						<a href="contact_us/index.php" class="footer"><?php print $lang[menu_contact_us]; ?></a>
    						<br>
    						<span class="footer"><?php print $lang[footer_rights]; ?> &reg; </span><a href="http://www.evitatrade.com/" class="footer"><?php print $lang[header_text]; ?></a><span class="footer"> | </span> <!--<a href="#" class="footer">info@evitatrade.com</a>--><script  class="footer" type="text/javascript" SRC="http://www.evitatrade.com/evitatrade/1/include/posta.js"></script>
    						<br>
    			            </td>
    					</tr>
    				</tbody>
    			</table>
    		
    		</td>
        </tr>
    	</tbody>
    </table>
    
    </body>
    </html>
    bg.php, ru.php en.php. bg.php:
    Code:
    <?php
    $lang['header_text']="  ";
    
    $lang[header_picture]="include/images/head-bg.jpg";
    $lang[header_picture_alt]="   -       ";
    
    $lang[menu_pic_buyers]="include/images/homebuyers.jpg";
    $lang[menu_newest]="-";
    $lang[menu_residential]="";
    $lang[menu_houses]=" ";
    $lang[menu_bussiness]=" ";
    $lang[menu_land]="";
    $lang[menu_search]="";
    
    $lang[menu_pic_sellers]="include/images/homebuyers.jpg";
    $lang[menu_new_ad]=" ";
    $lang[menu_redaktirai]="";
    $lang[menu_saveti]="";
    
    $lang[menu_pic_ordinary]="include/images/realtors.jpg";
    $lang[menu_about_us]=" ";
    $lang[menu_services]="";
    $lang[menu_projects]="";
    $lang[menu_links]="";
    $lang[menu_contact_us]=" ";
    
    $lang[footer_home]="";
    $lang[footer_privacy]="Privacy Policy";
    $lang[footer_terms]="Terms of Use";
    // $lang[footer_contact_us]="";     menu_contact_us
    $lang[footer_rights]="All Rights Reserved";
    //$lang[footer_evita_trade]="";     header_text
    
    $lang['hello']="!";
    $lang[page1]=" ";
    $lang[page2]=" ";
    $lang[page_not_exist]="       !";
    ?>


    , title .
    Last edited by delian; 5th November 2007 at 09:16. Reason:

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |