Login   Register  
PHP Classes
elePHPant
Icontem

File: main_sample

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Arab men from persian gulf  >  error-access  >  main_sample  >  Download  
File: main_sample
Role: Example script
Content type: text/plain
Description: main sample for latinlanguage
Class: error-access
Process request URLs for error pages
Author: By
Last change: add a html comment
Date: 2008-12-03 22:25
Size: 1,025 bytes
 

Contents

Class file image Download
<!--you need to modify htaccess file (index.php) to main_sample.php 
to become executed this sample  -->
<?php

include('class.error_access.php');

$error_access_pages = new error_access_pages();
$error_access_pages->genarate();
echo 
'<div dir="ltr">';
if(!
is_null($error_access_pages->request))    {

    echo 
'<span style="color:blue;font-weight:bold;" >';
echo 
"you r request not find in this site but we search in our site for  your request".'<br>';
echo 
'</span>';
    echo 
'<span style="color:green;font-weight:bold;" >';
echo 
"search results for:".'<br>';
echo 
'</span>';    
echo 
'<span style="color:black;font-weight:bold;" >';
echo 
$error_access_pages->request;
echo 
'</span>'.'<br>';    
echo 
'<span style="color:gray;font-size:10px;" >';
echo 
"you must add your own search angine here";
echo 
'</span>';    
    
}else{
        echo 
'<span style="color:red;font-weight:bold;" >';
    echo 
"for test pleas enter some words in end of address bar (dont over write old address)";
    echo 
'</span>';        
}
    echo 
'</div>';