|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 37
Members: 0
Total: 37
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Another Request decode !function_exists("T7FC56270E7A70 |
|
Posted: Wed Jun 17, 2009 8:37 am |
|
|
05pch20 |
Beginner |
|
|
Joined: Jun 17, 2009 |
Posts: 1 |
|
|
|
|
|
|
|
Code: |
<?php if (!function_exists("T7FC56270E7A70FA81A5935B72EACBE29")) { function T7FC56270E7A70FA81A5935B72EACBE29($TF186217753C37B9B9F958D906208506E) { $TF186217753C37B9B9F958D906208506E = base64_decode($TF186217753C37B9B9F958D906208506E); $T7FC56270E7A70FA81A5935B72EACBE29 = 0; $T9D5ED678FE57BCCA610140957AFAB571 = 0; $T0D61F8370CAD1D412F80B84D143E1257 = 0; $TF623E75AF30E62BBD73D6DF5B50BB7B5 = (ord($TF186217753C37B9B9F958D906208506E[1]) << 8) + ord($TF186217753C37B9B9F958D906208506E[2]); $T3A3EA00CFC35332CEDF6E5E9A32E94DA = 3; $T800618943025315F869E4E1F09471012 = 0; $TDFCF28D0734569A6A693BC8194DE62BF = 16; $TC1D9F50F86825A1A2302EC2449C17196 = ""; $TDD7536794B63BF90ECCFD37F9B147D7F = strlen($TF186217753C37B9B9F958D906208506E); $TFF44570ACA8241914870AFBC310CDB85 = __FILE__; $TFF44570ACA8241914870AFBC310CDB85 = file_get_contents($TFF44570ACA8241914870AFBC310CDB85); $TA5F3C6A11B03839D46AF9FB43C97C188 = 0; preg_match(base64_decode("LyhwcmludHxzcHJpbnR8ZWNobykv"), $TFF44570ACA8241914870AFBC310CDB85, $TA5F3C6A11B03839D46AF9FB43C97C188); for (;$T3A3EA00CFC35332CEDF6E5E9A32E94DA<$TDD7536794B63BF90ECCFD37F9B147D7F;) { if (count($TA5F3C6A11B03839D46AF9FB43C97C188)) exit; if ($TDFCF28D0734569A6A693BC8194DE62BF == 0) { $TF623E75AF30E62BBD73D6DF5B50BB7B5 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) << 8); $TF623E75AF30E62BBD73D6DF5B50BB7B5 += ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]); $TDFCF28D0734569A6A693BC8194DE62BF = 16; } if ($TF623E75AF30E62BBD73D6DF5B50BB7B5 & 0x8000) { $T7FC56270E7A70FA81A5935B72EACBE29 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) << 4); $T7FC56270E7A70FA81A5935B72EACBE29 += (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA]) >> 4); if ($T7FC56270E7A70FA81A5935B72EACBE29) { $T9D5ED678FE57BCCA610140957AFAB571 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) & 0x0F) + 3; for ($T0D61F8370CAD1D412F80B84D143E1257 = 0; $T0D61F8370CAD1D412F80B84D143E1257 < $T9D5ED678FE57BCCA610140957AFAB571; $T0D61F8370CAD1D412F80B84D143E1257++) $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012+$T0D61F8370CAD1D412F80B84D143E1257] = $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012-$T7FC56270E7A70FA81A5935B72EACBE29+$T0D61F8370CAD1D412F80B84D143E1257]; $T800618943025315F869E4E1F09471012 += $T9D5ED678FE57BCCA610140957AFAB571; } else { $T9D5ED678FE57BCCA610140957AFAB571 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) << 8); $T9D5ED678FE57BCCA610140957AFAB571 += ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) + 16; for ($T0D61F8370CAD1D412F80B84D143E1257 = 0; $T0D61F8370CAD1D412F80B84D143E1257 < $T9D5ED678FE57BCCA610140957AFAB571; $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012+$T0D61F8370CAD1D412F80B84D143E1257++] = $TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA]); $T3A3EA00CFC35332CEDF6E5E9A32E94DA++; $T800618943025315F869E4E1F09471012 += $T9D5ED678FE57BCCA610140957AFAB571; } } else $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012++] = $TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]; $TF623E75AF30E62BBD73D6DF5B50BB7B5 <<= 1; $TDFCF28D0734569A6A693BC8194DE62BF--; if ($T3A3EA00CFC35332CEDF6E5E9A32E94DA == $TDD7536794B63BF90ECCFD37F9B147D7F) { $TFF44570ACA8241914870AFBC310CDB85 = implode("", $TC1D9F50F86825A1A2302EC2449C17196); $TFF44570ACA8241914870AFBC310CDB85 = "?".">".$TFF44570ACA8241914870AFBC310CDB85."<"."?"; return $TFF44570ACA8241914870AFBC310CDB85; } } } } eval(T7FC56270E7A70FA81A5935B72EACBE29("QAAAPD9waHANCiRsaWNlbnNlXwAAYWlvc2hhcmVkX2tleXh6PQAAIlpKSjMyM0pMSlhPT0laMwAAMzVGIjsNCj8+DQo8IURPQwAAVFlQRSBIVE1MIFBVQkxJQwAEICItLy9XM0MvL0RURAGTNC4AIDAxLy9FTiINCiAAGCJodHRwAAA6Ly93d3cudzMub3JnL1RSAAAvaHRtbDQvbG9vc2UuZHRkYAEiBoEKM2luY2x1ZGUoIi4uLwDEAMhzL2RhdGFiYQLADGAiKQmQaWYgAAAoJGluc3RhbGxlZD09IjEiIQApewsEaGVhZAUBdGl0bGU+QWxEYHIBA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: Wed Jul 29, 2009 8:17 am |
|
|
Cyko |
Moderator |
|
|
Joined: Jul 21, 2009 |
Posts: 375 |
|
|
|
|
|
|
|
Code: | <?php
$license_aioshared_keyxz="ZJJ323JLJXOOIZ335F";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<?php
include("../includes/database.php");
if ($installed=="1"){
?>
<head>
<title>Already Installed!</title>
<link rel="stylesheet" type="text/css" href="css/install.css">
<style type="text/css">
body {
behavior:url("css/csshover.htc");
}
</style>
</head>
<body>
<div align="center">
<h1>Script is Already Installed.</h1>
<hr width="80%"><br>
<p class="descr3">If you want to Re-Install the script, then Please <br>Open includes/database.php and change $installed == "1" to $installed == "0".</p>
<br><br><br>
<p class="alert">REMOVE INSTALL FOLDER IF YOU HAD MADE SUCCESSFULL INSTALLATION.</p><br>
<hr width="80%"><br><p class="footer">© 2008 - <a href="http://aioshared.com">AIOshared.com Script</a></p>
</div>
</body>
<?php }else{?>
<head>
<title>Shared Files Search Engine - Installation</title>
<link rel="stylesheet" type="text/css" href="css/install.css">
<style type="text/css">
body {
behavior:url("css/csshover.htc");
}
</style>
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="js/pngfix.js"></script>
<![endif]-->
</head>
<body>
<?php
//database.php writeable check
$dbfile="../includes/database.php";
if (!is_writeable($dbfile)){
$writeerror="true";
}else{
$writeerror="false";
}
//End database.php check
//temp folder writeable check
$tempf="../temp/";
if (!is_writeable($tempf)){
$writeerror2="true";
}else{
$writeerror2="false";
}
//End temp folder writeable check
if ($_POST){
//Mysql check
$mysqlu=$_POST['mysqluser'];
$mysqlp=$_POST['mysqlpass'];
$mysqlh=$_POST['mysqlhost'];
$mysqldb=$_POST['mysqldb'];
if ($mysqlu=="" OR $mysqlp=="" OR $mysqlh=="" OR $mysqldb==""){
$mysqlerror="true";
}else{
$mysqlerror="false";
}
$conn=@mysql_pconnect($mysqlh, $mysqlu, $mysqlp);
if (!$conn AND $mysqlerror=="false"){
$mysqlerror2="true";
}else{
$mysqlerror2="false";
}
if ($mysqlerror=="false" AND $mysqlerror2=="false" AND !mysql_select_db($mysqldb, $conn)){
$mysqlerror3="true";
}else{
$mysqlerror3="false";
}
//End Mysql check
//Admin Verification
$adminu=$_POST['adminuser'];
$adminp=$_POST['adminpass'];
$adminr=$_POST['adminpassre'];
$admine=$_POST['adminemail'];
if (strlen($adminu) < 5){
$adminerror="true";
}else{
$adminerror="false";
}
if ($adminerror=="false" AND strlen($adminp) < 5) {
$adminerror2="true";
}else{
$adminerror2="false";
}
if ($adminerror=="false" AND $adminerror2=="false" AND $adminp!=$adminr){
$adminerror3="true";
}else{
$adminerror3="false";
}
if ($adminerror=="false" AND $adminerror2=="false" AND $adminerror3=="false" AND !eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $admine)) {
$adminerror4="true";
}else{
$adminerror4="false";
}
//End Admin Verification
//Site Details check
$siteurl=$_POST['siteurl'];
$absurl=$_POST['absurl'];
$sitename=$_POST['sitename'];
$sitetitle=$_POST['sitetitle'];
if ($siteurl=="" OR $absurl=="" OR $sitename=="" OR $sitetitle==""){
$siteerror="true";
}else{
$siteerror="false";
}
//Licnse Check Start
if ($license_aioshared_keyxz!=$_POST['license']){
$licenseerror="true";
}else{
$licenseerror="false";
}
}
//End site details check
//Post after correction
if ($writeerror=="false" AND $writeerror2=="false" AND $mysqlerror=="false" AND $mysqlerror2=="false" AND $mysqlerror3=="false" AND $adminerror=="false" AND $adminerror2=="false" AND $adminerror3=="false" AND $adminerror4=="false" AND $siteerror=="false" AND $licenseerror=="false"){
mysql_connect($mysqlh,$mysqlu,$mysqlp);
mysql_select_db($mysqldb);
mysql_query("DROP TABLE IF EXISTS `admin`");
mysql_query("DROP TABLE IF EXISTS `general`");
$query1="CREATE TABLE IF NOT EXISTS `admin` (
`username` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;";
$query2="CREATE TABLE IF NOT EXISTS `general` (
`perpage` varchar(255) NOT NULL default '10',
`siteurl` varchar(255) NOT NULL,
`absurl` varchar(255) NOT NULL,
`sitename` varchar(255) NOT NULL,
`sitetitle` varchar(255) NOT NULL,
`description` varchar(255) NOT NULL,
`keywords` varchar(255) NOT NULL,
`checker` varchar(255) NOT NULL default '1',
`logo` varchar(255) NOT NULL default 'logo.png',
`id` varchar(255) NOT NULL default '1',
`maxtg` varchar(255) NOT NULL default '50',
`adminemail` varchar(255) NOT NULL,
`maxtime` varchar(255) NOT NULL default '1000'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;";
$query4="CREATE TABLE IF NOT EXISTS `tagcloud` (
`term` varchar(255) NOT NULL default '',
`counts` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;";
$query5="CREATE TABLE IF NOT EXISTS `keywords` (
`id` int(11) NOT NULL auto_increment,
`keyword` text collate latin1_general_ci NOT NULL,
`lastcheck` datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (`id`),
UNIQUE KEY `keyword` (`keyword`(50))
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=1 ;";
$query6="CREATE TABLE IF NOT EXISTS `links` (
`id` int(50) NOT NULL auto_increment,
`url` text collate latin1_general_ci NOT NULL,
`caption` text collate latin1_general_ci NOT NULL,
`source` text collate latin1_general_ci NOT NULL,
`type` tinyint(4) NOT NULL default '0',
`filesize` varchar(60) collate latin1_general_ci NOT NULL default '0',
`reported` varchar(255) collate latin1_general_ci NOT NULL default '0',
PRIMARY KEY (`id`),
UNIQUE KEY `url` (`url`(300)),
FULLTEXT KEY `caption` (`caption`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=1 ;
";
$query7="CREATE TABLE IF NOT EXISTS `votes` (
`votenumber` varchar(255) NOT NULL default '',
`clicks` varchar(255) NOT NULL default '',
`ip` varchar(255) NOT NULL default '',
`id` varchar(255) NOT NULL default ''
) ENGINE=MyISAM DEFAULT CHARSET=latin1;";
$query8="CREATE TABLE IF NOT EXISTS `hometext` (
`indextext` text NOT NULL,
`enginetext` text NOT NULL,
`id` varchar(1) NOT NULL default '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;";
$query9="INSERT INTO `hometext` (`indextext`, `enginetext`, `id`) VALUES('<div align=\"center\">\r\n<p>\r\n<h2>Free Rapidshare, Megaupload, Badongo, Mediafire, Sendspace, 4Shared Search Engine</h2>\r\n</p>\r\n\r\n<p>\r\nSearch shared files with Fast Online Search Engine for Free.\r\n</p>\r\n\r\n<p>\r\nFile Availability checker will help you knowing if the file is available or not, it doesnot require any other program. Files are checked while searching.\r\n</p>\r\n\r\n<b>Enjoy : )</b></div>', '<div align=\"center\">\r\n<p>\r\n<h2>FREE {cap} FILES SEARCH ENGINE</h2>\r\n</p>\r\n\r\n<p>\r\nSearch {cap1} with our Fast Online Search Engine.\r\n</p>\r\n\r\n<p>\r\nFile Availability checker will help you knowing if the file is available on {low} or not, it doesnot require any other program. Files are automatically checked while searching.\r\n</p></div>', '1');";
$query10="CREATE TABLE IF NOT EXISTS `ads` (
`id` varchar(255) NOT NULL default '1',
`affiliate` varchar(255) NOT NULL default '1234',
`enabledindex` varchar(255) NOT NULL default '1',
`indexgoogle` text NOT NULL,
`indexad1` text NOT NULL,
`indexad2` text NOT NULL,
`indexad3` text NOT NULL,
`enabledsearch` varchar(255) NOT NULL default '1',
`searchgoogle` text NOT NULL,
`searchad1enabled` varchar(255) NOT NULL default '1',
`searchad1` text NOT NULL,
`searchad2enabled` varchar(255) NOT NULL default '1',
`searchad2` text NOT NULL,
`searchad3enabled` varchar(255) NOT NULL default '1',
`searchad3` text NOT NULL,
`framead1` text NOT NULL,
`framead2` text NOT NULL,
`linksenabled` varchar(255) NOT NULL default '1',
`linksgoogle` text NOT NULL,
`memberright` text NOT NULL,
`memberright_enabled` varchar(255) NOT NULL default '1',
`memberbottom` text NOT NULL,
`memberbottom_enabled` varchar(255) NOT NULL default '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;";
$query11="INSERT INTO `ads` (`id`, `affiliate`, `enabledindex`, `indexgoogle`, `indexad1`, `indexad2`, `indexad3`, `enabledsearch`, `searchgoogle`, `searchad1enabled`, `searchad1`, `searchad2enabled`, `searchad2`, `searchad3enabled`, `searchad3`, `framead1`, `framead2`, `linksenabled`, `linksgoogle`, `memberright`, `memberright_enabled`, `memberbottom`, `memberbottom_enabled`) VALUES
('1', '1234', '1', '', '', '', '', '1', '', '1', '', '0', '', '1', '', '', '', '1', '', '', '1', '', '1');";
$query12 = "CREATE TABLE IF NOT EXISTS `backlinks` (
`id` int(255) NOT NULL auto_increment,
`title` varchar(255) NOT NULL,
`url` text NOT NULL,
`type` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1";
$query13 = "INSERT INTO `backlinks` (`id`, `title`, `url`, `type`) VALUES(1, 'Rapidshare Search Script with Checker', 'http://aioshared.com', 'indexsearchlinksmembers'),(2, 'Free 5Gb mail storage', 'http://hotmail.com', 'index'),(3, 'Best Browser', 'http://mozilla.org', 'index'),(4, 'Play Online Games', 'http://miniclip.com', 'index');";
$query14 = "INSERT INTO `tagcloud` (`term`, `counts`) VALUES('PC Games', '1'),('Online Games', '1'),('Free Softwares', '1'),('Cartoon Shows', '1'),('Ebooks', '1'),('Winzip', '1'),('Yahoo Messenger', '1'),('MSN Messenger', '1')";
$query15 = "CREATE TABLE IF NOT EXISTS `members` (
`id` mediumint(9) NOT NULL auto_increment,
`name` varchar(60) NOT NULL,
`email` varchar(60) NOT NULL,
`password` varchar(255) NOT NULL,
`origpass` varchar(60) NOT NULL,
`notes` text NOT NULL,
`pgtitle` text NOT NULL,
`heading` text NOT NULL,
`greet` text NOT NULL,
`logourl` varchar(255) NOT NULL,
`bgcolor` varchar(20) NOT NULL,
`textcolor` varchar(20) NOT NULL,
`boldcolor` varchar(20) NOT NULL,
`urlcolor` varchar(20) NOT NULL,
`sepcolor` varchar(20) NOT NULL,
`filetitle` int(2) NOT NULL,
`filesize` int(2) NOT NULL,
`filetype` int(2) NOT NULL,
`sourceurl` int(2) NOT NULL,
`ad1size` varchar(255) NOT NULL,
`ad2size` varchar(255) NOT NULL,
`ad1client` varchar(255) NOT NULL,
`ad2client` varchar(255) NOT NULL,
`ad1slot` varchar(255) NOT NULL,
`ad2slot` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;";
$query16= "CREATE TABLE IF NOT EXISTS `member_settings` (
`resultsperpage` varchar(255) NOT NULL,
`memads` int(2) NOT NULL,
`linktype` int(2) NOT NULL,
`bgcolor` varchar(20) NOT NULL,
`textcolor` varchar(20) NOT NULL,
`boldcolor` varchar(20) NOT NULL,
`urlcolor` varchar(20) NOT NULL,
`sepcolor` varchar(20) NOT NULL,
`filetitle` int(2) NOT NULL,
`filesize` int(2) NOT NULL,
`filetype` int(2) NOT NULL,
`source` int(2) NOT NULL,
`id` int(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;";
$query17= "INSERT INTO `member_settings` (`resultsperpage`, `memads`, `linktype`, `bgcolor`, `textcolor`, `boldcolor`, `urlcolor`, `sepcolor`, `filetitle`, `filesize`, `filetype`, `source`, `id`) VALUES
('10', 1, 1, 'FCFCFC', '595959', 'F28911', '00A5CE', 'DEDEDE', 1, 1, 1, 1, 1);";
$query18= "CREATE TABLE IF NOT EXISTS`comments` (
`id` int(50) NOT NULL auto_increment,
`comments` text NOT NULL,
`userid` int(50) NOT NULL,
`fileid` varchar(50) NOT NULL,
`time` varchar(100) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;";
$query19= "CREATE TABLE `badwords` (
`words` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;";
$query20= "INSERT INTO `badwords` (`words`) VALUES
('bitch'),
('Fuck'),
('shit'),
('ass hole'),
('punk');";
mysql_query($query1);
mysql_query($query2);
mysql_query($query3);
mysql_query($query4);
mysql_query($query5);
mysql_query($query6);
mysql_query($query7);
mysql_query($query8);
mysql_query($query9);
mysql_query($query10);
mysql_query($query11);
mysql_query($query12);
mysql_query($query13);
mysql_query($query14);
mysql_query($query15);
mysql_query($query16);
mysql_query($query17);
mysql_query($query18);
mysql_query($query19);
mysql_query($query20);
$index=split("\n",file_get_contents("keywords.txt"));
foreach($index as $keyword)
{
$keyword=mysql_real_escape_string(trim($keyword));
mysql_query("INSERT INTO `keywords` VALUES(NULL,'$keyword',0)");
if(mysql_errno()) print mysql_error()."\n";
}
$siteurl=$_POST['siteurl'];
$absurl=$_POST['absurl'];
$sitename=$_POST['sitename'];
$sitetitle=$_POST['sitetitle'];
$description=$_POST['metadescription'];
$keywords=$_POST['metakeywords'];
$absurl=str_replace("\\","/",$absurl);
if (substr($siteurl, -1) == "/"){
$siteurl=substr($siteurl, 0, -1);
}
if (substr($absurl, -1) == "/"){
$absurl=substr($absurl, 0, -1);
}
$adminpenc=md5($adminp);
$query="INSERT INTO admin(username,password) VALUES('$adminu','$adminpenc')";
mysql_query($query);
mysql_query("INSERT INTO general(siteurl,absurl,sitename,adminemail,sitetitle,description,keywords) VALUES('$siteurl','$absurl','$sitename','$admine', '$sitetitle', '$description', '$keywords')");
$dbfile = "../includes/database.php";
$fh = fopen($dbfile, 'w');
$data = '<?php
$mysqlhost = "'.$mysqlh.'";
$mysqluser = "'.$mysqlu.'";
$mysqlpass = "'.$mysqlp.'";
$mysqldb = "'.$mysqldb.'";
$installed = "1"; //If you want to re-install the script, change 1 to 0.
?>';
fwrite($fh, $data);
fclose($fh);
?>
<div align="center">
<h1>Successfully Installed</h1>
<hr width="80%"><br>
<p class="descr3">Script has been successfully Installed, <a href="../admin">Click Here to Goto Admin Panel.</a></p>
<br><br><br>
<p class="alert">REMOVE INSTALL FOLDER FROM YOUR SCRIPT DIRECTORY.</p><br>
<hr width="80%"><br><p class="footer">© 2008 - <a href="http://aioshared.com">AIOshared.com Script</a></p>
</div>
<?php
//End post
}else{
?>
<div align="center">
<h1>Script Installation</h1>
<p>Complete the Form below to Install the script. <b>Please delete install Directory after successfull installation.</b></p>
<form action="" method="POST">
<?php if ($writeerror=="true"){?>
<span class="error">database.php IS NOT WRITEABLE</span><br><b>CHMOD database.php to 666</b><br>
<?php }?>
<?php if ($writeerror=="false"){?>
<span class="noerror">database.php is writeable</span>
<?php }?>
<?php if ($writeerror2=="true"){?>
<br><span class="error">temp Folder IS NOT WRITEABLE</span><br><b>CHMOD temp directory to 777</b><br>
<?php }?>
<?php if ($writeerror2=="false"){?>
<br><span class="noerror">temp Folder is writeable</span>
<?php }?>
<p class="reqd" align="right"><br>* = Required</p>
<fieldset>
<legend style="color:#6382ed;font-weight:bold">MySQL Details</legend>
<div class="content">
<label>Hostname</label><span class="req">*</span> <input type="text" name="mysqlhost" size="20" value="<?php if (isset($_POST['mysqlhost'])){echo$_POST['mysqlhost'];}else{echo"localhost";}?>" autocomplete="off">
</div>
<div class="content">
<label>Username</label><span class="req">*</span> <input type="text" name="mysqluser" size="20" value="<?php if (isset($_POST['mysqluser'])){echo$_POST['mysqluser'];}else{echo"";}?>" autocomplete="off">
</div>
<div class="content">
<label>Password</label><span class="req">*</span> <input type="password" name="mysqlpass" size="20" value="<?php if (isset($_POST['mysqlpass'])){echo$_POST['mysqlpass'];}else{echo"";}?>" autocomplete="off">
</div>
<div class="content">
<label>Database Name</label><span class="req">*</span> <input type="text" name="mysqldb" size="20" value="<?php if (isset($_POST['mysqldb'])){echo$_POST['mysqldb'];}else{echo"";}?>" autocomplete="off">
</div>
<?php if ($mysqlerror=="true"){?>
<div>
<span class="error">Please fill all fields above.</span>
</div>
<?php } ?>
<?php if ($mysqlerror2=="true" AND $mysqlerror=="false"){?>
<div>
<span class="error">Could not connect to MySQL.</span>
</div>
<?php }?>
<?php if ($mysqlerror=="false" AND $mysqlerror2=="false" AND $mysqlerror3=="true"){?>
<div>
<span class="error">Could not connect to Database.</span>
</div>
<?php }?>
</fieldset><br>
<fieldset>
<legend style="color:#ff0000;font-weight:bold;">Admin Details</legend>
<span class="descr2">Admin Password can be changed from Admin Panel.</span>
<div class="content">
<label>Admin Username</label><span class="req">*</span> <input type="text" name="adminuser" size="20" value="<?php if (isset($_POST['adminuser'])){echo$_POST['adminuser'];}else{echo"admin";}?>" autocomplete="off">
</div>
<div class="content">
<label>Admin Password</label><span class="req">*</span> <input type="password" name="adminpass" size="20" value="<?php if (isset($_POST['adminpass'])){echo$_POST['adminpass'];}else{echo"";}?>" autocomplete="off">
</div>
<div class="content">
<label>Retype Password</label><span class="req">*</span> <input type="password" name="adminpassre" size="20" value="<?php if($_POST['adminpass']==$_POST['adminpassre']){echo $_POST['adminpass'];}?>" autocomplete="off">
</div>
<div class="content">
<label>Email Address</label><span class="req">*</span> <input type="text" name="adminemail" size="20" value="<?php if($_POST['adminemail']){echo $_POST['adminemail'];}?>" autocomplete="off">
</div>
<span class="descr" style="margin-left:150px;">Used for sending emails.</span>
<?php if ($adminerror4=="true"){?>
<div>
<span class="error">Please enter correct email address.</span>
</div>
<?php } ?>
<?php if ($adminerror=="false" AND $adminerror2=="true"){?>
<div>
<span class="error">Please enter Admin Password more than 4 Letters.</span>
</div>
<?php } ?>
<?php if ($adminerror=="false" AND $adminerror2=="false" AND $adminerror3=="true"){?>
<div>
<span class="error">Both Passwords does not match.</span>
</div>
<?php } ?>
</fieldset><br>
<?php
$siteurl1=(!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
$siteurl1=str_ireplace("install/","",$siteurl1);
$siteurl1=str_ireplace("?","",$siteurl1);
$absurl1=getcwd();
$absurl1=str_replace("install","",$absurl1);
?>
<fieldset>
<legend style="color:#7bd96c;font-weight:bold">Site Details</legend>
<span class="descr2">These details can be changed from Admin Panel.</span>
<div class="content2">
<label>Site/Script URL</label><span class="req">*</span> <input title="Without trailing slash." type="text" name="siteurl" size="20" value="<?php if (isset($_POST['siteurl'])){echo$_POST['siteurl'];}else{echo$siteurl1;}?>" autocomplete="off">
<br><span class="descr" style="margin-left:150px;">Enter Website URL of the script.</span>
</div>
<div class="content2">
<label>Absolute Directory</label><span class="req">*</span> <input title="Without trailing slash." type="text" name="absurl" size="20" value="<?php if (isset($_POST['absurl'])){echo$_POST['absurl'];}else{echo$absurl1;}?>" autocomplete="off">
<br><span class="descr" style="margin-left:150px;">Enter Absolute Path to the script.</span>
</div>
<div class="content2">
<label>Site Name</label><span class="req">*</span> <input type="text" name="sitename" size="20" value="<?php if (isset($_POST['sitename'])){echo$_POST['sitename'];}else{echo"AIOshared";}?>" autocomplete="off">
<br><span class="descr" style="margin-left:150px;">Name of your site, make it small.</span>
</div>
<div class="content3">
<label>Site Title</label><br><span class="req">*</span> <input type="text" name="sitetitle" size="45" value="<?php if (isset($_POST['sitetitle'])){echo$_POST['sitetitle'];}else{echo"Rapidshare | Megaupload | Sendspace | 4Shared | Mediafire Online Search Engine";}?>" autocomplete="off">
<span class="descr">This Title will be shown on Index Page, make it SEO Optimized.</span>
</div>
<?php if ($siteerror=="true"){?>
<div>
<span class="error">Please fill all fields above.</span>
</div>
<?php }?>
</fieldset><br>
<fieldset>
<legend style="color:brown;font-weight:bold">Meta Tags</legend>
<span class="descr2">These details can be changed from Admin Panel.</span>
<div class="content4">
<label>Meta Description</label><br><textarea rows="6" cols="45" name="metadescription"><?php if ($_POST['metadescription']){echo$_POST['metadescription'];}else{echo"Search Rapidshare,Megaupload,Badongo,Mediafire,Sendspace,4Shared Files for Free by our Online Fast Free Shared Files Search Engine with Online File Availability Checker.";}?> |
|
|
|
|
|
|
www.waraxe.us Forum Index -> PHP script decode requests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|