Ekinboard V1.0.3 > V1 / Admin / About.php

Questions? Need Help? Want to share? » PHP Forum
Script Name:
Ekinboard V1.0.3

Download:
ekinboard-v1.0.3.zip

Category:
Discussion Boards

Archive Content:

V1

V1 > Admin

V1 > Admin > Images

V1 > Admin

V1

V1 > Class

V1

V1 > Install > Images

V1 > Install

V1

V1 > Templates > Default

V1 > Templates > Default > Images

V1 > Templates > Default > Images > Smilies

V1 > Templates > Default > Images

V1 > Templates > Default

V1

About.php:


<?PHP
if($_userlevel != 3){

    die(
"<center><span class=red>You need to be an admin to access this page!</span></center>");

}



echo 
"<a href=\"index.php\"><img src=\"images/home_lnk.gif\" border=0 alt=\"\"></a><img src=\"images/spacer.gif\" border=0 alt=\"\" width=5><img src=\"images/about_title.gif\" border=0 alt=\"\"><p>";


    if (isset(
$_GET['d'])) { // If we have a file,  go get the contents of it

        
$_GET['d']=str_replace("\\",  "",  $_GET['d']);

        
$_GET['d']=str_replace("/",  "",  $_GET['d']);

        
$_GET['d']=str_replace(".",  "",  $_GET['d']);



        
$page_contents=@file_get_contents("http://ekinboard.com/about/".$_GET['d'].".php");

    }

    if (
$page_contents == '') { // If blank,  get the index

        
$page_contents=@file_get_contents("http://ekinboard.com/about/index.php");

    }


    echo 
$page_contents;

print_r($files);

?>


Other Discussion Boards Scripts:

WebMaster Resources Home

©RingsWorld.com