Parašė justaslt· 2009 Sau. 17 16:01:32
#1
www.eye.xz.lt idiegiau si moda, tai noriu paklausti kaip padaryti, kad nebutu pirsutines eilute kur yra prisijungimas, registracija duk ir t.t. dar kad nebutu "Welcome:GUESTShow Images My Gallery" cia biški žemiau, nei per vidurį.
Idedu index.php
<?
/*****************************************************************************/
/* Yabsoft.Advanced.Image.Hosting.Script.v2.1 */
/* BROUGHT TO YOU BY */
/* TEAM [S-T-N] NULL GROUPE */
/* 02-09-2006 */
/*****************************************************************************/
define("IN_INDEX",1);
include "includes/inc.php";
$baseUrl='index.php?';
//log out
if($input[logout]==1)
{
$user->setValue('logined',0);
header("location:index.php");
}
/**
* process upload!
*/
if($input[zipfile]==1&&$user->uid&&$user->account_expired==false&&$user->setting[site_offline]==0)
{
$user->allowed_filetypes='zip';
$user->allowed_filetype[]='zip';
uploadZipFiles($_FILES);
}
elseif($user->account_expired==false&&$user->setting[site_offline]==0)
{
uploadFiles($_FILES);
}
if(is_array($input[uploads])&&$user->account_expired==false&&$user->setting[site_offline]==0)
{
uploadFilesByURL($input[uploads]);
}
/**
* build images links
*/
if($input[showlinks]==1)
{
showImageLinks();
}
/**
* email images links
*/
if($input[emaillinks]&&$input[email])
{
emailLinks();
}
/**
* start to build block!
*/
showTopImages();
showPopularImages();
showNews();
//if($input[showlinks]!=1)
buildUploadForm();
showUploadTip();
siteStats();
require_once("header.php");
$template->set_filenames(array(
'body' => 'index.body.html')
);
$template->pparse('body');
include "footer.php";
?>
Redagavo justaslt· 2009 Sau. 17 16:01:13