Location: PHPKode > projects > A-Dater Pro - Online Dating Script > a-dater-pro-online-dating-script/index.php
<?php
/*
  ******************************************************
  ***   A-Dater Pro        Version 2                 ***
  ***   File name          index.php                 ***
  ***   Script Owner       Alfacom Systems           ***
  ***   Script Homepage    www.a-dater.com           ***
  ***   Licence Terms      www.a-dater.com/licence   ***
  ***                                                ***
  ***   You need to purchase a license if you want   ***
  ***   to use this script with ads or without the   ***
  ***   reference to www.a-dater.com                 ***
  ******************************************************
*/

  error_reporting(E_ALL);
  ob_start();
  session_start();
  $charset = '';

  include('includes/connect.php');
  include('includes/f.php');
  include('includes/online_check.php');
  require_once('includes/language.php');
  define("INCLUDE_CHECK", "true");

  print  '

<html>

<html>

<head>

<title>A-Dater Pro - Online Dating Script</title>

<meta http-equiv="content-type" content="text/html; charset='.$charset.'">

<meta http-equiv="Content-Language" content="et" />

<meta name="author" content="http://www.a-dater.com" />

<meta name="description" lang="et" content="A-Dater Pro - Online Dating Script" />

<meta name="keywords" content="dating, meeting, penpals" />

<meta http-equiv="imagetoolbar" content="no" />

<meta name="MSSmartTagsPreventParsing" content="true" />

<meta name="Robots" content="index,follow" />

<link rel="stylesheet" href="pic/stiil.css" type="text/css" media="all" />

</head>

<body>

<center>

  ';

  //Ülemine menüü

  print  '<table cellspacing="0" cellpadding="0" id="border1"><tr><td colspan="2" id="bgcolor_white">';

  include('top_menu.php');

  print '</td></tr>';

  //Vasak menüü

  print '<tr><td valign="top" id="bgcolor_white" width="140">';

  include('left_menu.php');

  print '</td>';


  //Põhileht

  print '<td valign="top" class="sisu_paigutus">';

  if(isset($_GET['leht'])){

    $link=array('avaleht', 'registreeri', 'log_in', 'lkom', 'log_out', 'postkast', 'post', 'postuus', 'kasutaja', 'profiil', 'sobrad', 
                'pildid', 'pilt', 'kom', 'lisaKom', 'thanks', 'cancel', 'lisaKommuun', 'mKommuun', 'kommuunKom', 'kommuunid', 'kommuun', 'paarid', 'vv1', 'vv2', 'sop', 'moded', 'maaramata', 'otsing', 'top_n', 'top', 'vat', 'seaded', 'kontakt', 'viimati', 'sms', 'bannerid', 'logi', 'editpage', 'info', 'vHind');

    if(in_array($_GET['leht'], $link)){

	  include($_GET['leht'].'.php');

	} 

	else{

	  include('avaleht.php');

	}

  }	

  else{

    include('avaleht.php');    

  }

  print '</td></tr><tr><td colspan="2" class="footer"><a href="http://www.a-dater.com">Powered by A-Dater Pro - Online Dating Script</a></td></tr></table>';

  print '</center>

<br>

<center>


</center>

</body></html>';

?>
Return current item: A-Dater Pro - Online Dating Script