download main.php
Language: PHP
LOC: 30
Project Info
Uique
Server: Spider_20090120_inc
Type: filesystem
...que1.001_english.zip\uique\
   lock.php
   login.php
   main.php

<? 
	include ("engine/const.php");
	include ("engine/checkinstall.php");
	include ("engine/uservalidation.php");
	
	if (!(isset($action) && ($action == VIEW || $action == EDIT))) { 
			$action = VIEW; 
	}
	if (!isset($page)) { 
		if ($action == VIEW) {
			$page = STARTPAGE; 
		} else if ($action == EDIT) {
			$page = STARTPAGE;
			$action = view;
			$errormsg = "Trying to edit an invalid file...";
		}
	}
	$editable = true;
	if ($page == SEARCH || $page == RECENTCHANNGES || $page == USERS) {
		$editable = false;
	} 
	
	include ("design/header.php");
	if ($action == VIEW) {
		include ("engine/view.php");
	} else if ($action == EDIT) {
		include ("engine/edit.php");
	} else {
		include ("design/error.php");
	}
	include ("design/footer.php");
?>

About Koders | Resources | Downloads | Support | Black Duck | Submit Project | Terms of Service | DMCA | Privacy Policy | Site Map| Contact Us