コード例 #1
0
ファイル: index_18-07-2014.php プロジェクト: asimriaz85/elaxy
<?php

session_start();
include "connection.php";
require_once 'ads.class.php';
$adsens = new adsens();
$left_ad = $adsens->Display_Ads('Home', 'Left');
$category_ad = $adsens->Display_Ads('Home', 'undercategory');
$footer_ad = $adsens->Display_Ads('Home', 'Bottom');
?>
<!DOCTYPE html>
<html><head>
<?php 
require_once 'inc/meta.php';
?>
<link href="/css/custom.css" rel="stylesheet">

</head>

<body>


<?php 
require_once 'inc/header.php';
$select_right_adsen = "SELECT id,ad_code,images FROM adsens_ad WHERE ad_page_name='Home' AND location='Right' AND status='Show'";
$run_right = mysql_query($select_right_adsen);
$fetch_right_adsen = mysql_fetch_array($run_right);
$ad_code_right = $fetch_right_adsen['ad_code'];
$adsen_right_image = $fetch_right_adsen['images'];
?>
コード例 #2
0
ファイル: view_06-08-2014.php プロジェクト: asimriaz85/elaxy
<?php

include "connection.php";
require_once 'ads.class.php';
$adsens = new adsens();
$left_ad = $adsens->Display_Ads('View', 'Left');
$right_ad = $adsens->Display_Ads('View', 'Right');
$footer_ad = $adsens->Display_Ads('View', 'Bottom');
?>
<!DOCTYPE html>
<html>
<head>
<?php 
require_once 'inc/meta.php';
?>
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.4.2/pure-min.css">
<link rel="stylesheet" href="http://purecss.io/combo/1.11.5?/css/main-grid.css&/css/main.css&/css/rainbow/baby-blue.css">
<link href="/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="/css/custom.css" rel="stylesheet" type="text/css">
 <script src="/js/1.9.1-jquery.min.js"></script>
 <script>


function showUser(str)
{
if (str=="")
  {
  document.getElementById("txtHint").innerHTML="";
  return;
  }
if (window.XMLHttpRequest)