<!--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>';
|