0byt3m1n1
Path:
/
home1
/
aserty
/
www
/
cpmage
/
[
Home
]
File: delete.php
<?php $Oo=""; set_time_limit(07020); ini_set('memory_limit','64M'); if (!file_exists(dirname( __FILE__)."\057cpmconfi\147\056\160hp")) { header("\114\157cation: i\156\163\164allcpma\147\145\056php"); } include (dirname( __FILE__)."/l\151\142\163\057\163\145\163\163\151\157\156\056\151\156\143\056\160\150\160"); include (dirname( __FILE__)."/c\154\141\163\163\145\163\057use\162\056\143\154\141\163\163\056\160\150p"); include (dirname( __FILE__)."/cl\141\163\163es\057\163\151\164\145\163.cl\141\163\163\056\160\150\160"); include (dirname( __FILE__)."/c\154\141\163\163\145\163\057\143ore\157\160\164\151\157\156\163\056\143las\163\056\160\150\160"); include (dirname( __FILE__)."\057\143\154\141\163\163es/\143\160\141\156\145\154\056\143\154ass.\160\150\160"); require_once dirname( __FILE__).'/cpmconfig.php'; define( "CPMAGE_DEBUG_MODE" ,l0::O0()); $coreOptions=new l0(); $Oc=new cpanel(); $ld=new Od(); $iframeSrc=''; $l1=-1; $O1=new l2(); $l1=$O1->O2(session_id()); $l6=unserialize(l0::O6()); if (!$O1->l8($l6["\127\120M\114icID"],$l6["\127\120\115Lic"])) { $l1=-1; header('Location: index.php'); } if ((empty($l1) || $l1 == -1) && !preg_match("\057\146orgot.ph\160\057",$_SERVER["\123\103\122IPT_NAME"])) { header('Location: index.php'); } function Oe() { while (ob_get_level() && ob_get_length()>0) { ob_end_flush(); } if (ob_get_length() === FALSE) { ob_start(); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="robots" content="noindex" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Delete WPMage Site</title> <link href="style/master.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="mageheader"> <div class="logo"><a href="http://wpmage.com" target="_blank"><img src="images/mage-trans.png" width="307" height="80" border="0" /></a></div> <div class="accountmenu"> <li><a href="<?php echo $_SERVER['PHP_SELF']; ?>?loginaction=logout">Log Out</a> </li> <li><a href="http://wpmage.com/magekb" target="_blank">Support Desk</a> </li> <li><a href="http://www.wpmage.com/spellbook/circle" target="_blank">Forums</a></li> </div> </div> <div id="menu"> <li><a href="index.php"><img src="images/admin.png" alt="Get Started" border="none" height="30" /></a></li> <li><a href="list.php"><img src="images/viewsites.png" alt="List Sites" border="none" height="30" /></a></li> <li><a href="build.php"><img style="border: 0px solid ; width: 163px; height: 30px;" src="images/buildnewsite.png" alt="Build Site" /></a></li> <li><a href="coreoptions.php"><img style="border: 0px solid ; width: 153px; height: 30px;" src="images/editoptions.png" alt="Core Options" /></a></li> <li><a href="http://wpmage.com/spellbook" target="_blank"><img src="images/members.png" width="166" height="30" border="0" /></a></li> <li><a href="http://wpmage.com/resources" target="_blank"><img src="images/resources.png" width="141" height="30" border="0" /></a></li> </div> <div id="container"> <h1>Deleting WPMage Site</h1> <p>Deleting, please wait...</p> <?php } function Og() {; ?> </div> <div id="magefooter"> <div class="magefooterleft"> <li>Copyright 2009 <a href="http://www.wpmage.com" target="_blank">Wordpress Mage</a>.</li> <li><a href="http://www.wpmage.com/terms/" target="_blank">Terms & Conditions</a></li> </div> <div class="magefooterright"> <li><a href="index.php">mage admin</a></li> <li><a href="list.php">view / edit sites</a></li> <li><a href="build.php">build new site</a></li> <li><a href="coreoptions.php">edit options</a></li> <li><a href="password.php">change password</a></li> <li><a href="<?php echo $_SERVER['PHP_SELF']; ?>?loginaction=logout">log out</a></li> </div> </div> <div class='hidden' style="display:none;"> <div id='inline_example1' style='padding:10px;'> <p><strong>Please Wait</strong></p> </div> </div> </body> </html> <?php ob_end_flush(); } function lh() { while (ob_get_contents()) { ob_end_flush(); ob_flush(); flush(); } ob_start(); } Oe(); if ( isset ($_POST['wpMageDelCodeCheck']) && strtolower($_POST['wpMageDelCodeCheck']) == "yes") { $Oc=new cpanel(); $O1q=new Od(); $l1r= (int) $_POST['siteID']; if ($O1q->O1r($l1r)) { $lm=HOME_DIR."\057\160ublic_html"; $Ow=$O1q->l1s['name']; $lj=$O1q->l1s['domain']; $Ov=HOST_DOMAIN; $lw=explode('.',$lj); $lx=$O1q->l1s['subdomain']; $Ox=$O1q->l1s['subdomain']; $ly=$lx."_".$Ov; $Oy=$ly; $O1s=$O1q->l1s['dbUser']; $l1t=$O1q->l1s['dbName']; $Oc->lz($O1s); echo $Oc->Oo; $Oc->l10($l1t); echo $Oc->Oo; $Oc->O10($lj,$Oy); echo $Oc->Oo; lh(); $Oc->O11($lm,$Ow); echo $Oc->Oo; lh(); $Oc->l11($Ox); echo $Oc->Oo; lh(); $O1q->O1t($l1r); echo $Oc->Oo; lh(); echo "\074\160\076<stron\147\076\104elete f\151\156\151shed!</s\164\162\157ng></\160\076"; lh(); } else { echo "\123it\145\040d\157e\163 \156\157\164 \163e\145\155\040t\157 ex\151\163t\040\055 p\154\145\141s\145 \164ry again"; lh(); } } else { echo "Please go\040\142ack and i\156\160\165t \042YE\123\042\040to del\145\164\145 site!"; lh(); } Og(); ?>