PHP Classes

File: sample

Recommend this page to a friend!
  Classes of arab sheybani   error-access   sample   Download  
File: sample
Role: Example script
Content type: text/plain
Description: a sample for persian language
Class: error-access
Process request URLs for error pages
Author: By
Last change: add a html comment
Date: 15 years ago
Size: 1,090 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="rtl">';
if(!
is_null($error_access_pages->request)) {

    echo
'<span style="color:blue;font-weight:bold;" >';
echo
"موردی را که شما الان در جستجوی آن هستید وجود ندارد اما میتوانید موارد زیر را امتحان کنید".'<br>';
echo
'</span>';
    echo
'<span style="color:green;font-weight:bold;" >';
echo
"نتایج جستجو در تمام سایت برای کلمه:";
echo
'</span>';
echo
'<span style="color:black;font-weight:bold;" >';
echo
$error_access_pages->request;
echo
'</span>';
}else{
        echo
'<span style="color:red;font-weight:bold;" >';
    echo
"برای امتحان کافیست در ادامه آدرس بار(بدون حذف آدرس قبلی) موردی را بنویسید و اینتر کنید";
    echo
'</span>';
}
    echo
'</div>';