Esempio n. 1
0
}
?>

<br><br>
Change Account Password: 
<hr>
<?php 
if ($ListedUser['id'] == "") {
} else {
    if ($Current_Admin_Access == "0") {
        ?>
<div class="form-group">
<label class="col-sm-3 control-label">Current Password</label>
<div class="col-sm-6">
<input type="text" placeholder="Enter Title" class="form-control" value='<?php 
        echo PbDecrypt($key, $ListedUser['password']);
        ?>
' disabled>
</div></div><br><br>
<?php 
    }
}
?>
<div class="form-group">
<label class="col-sm-3 control-label">Enter Password</label>
<div class="col-sm-6">
<input type="password" name='pword[1]' placeholder="Enter New Password" class="form-control" value=''>
</div></div><br><br>
<div class="form-group">
<label class="col-sm-3 control-label">Confirm Password</label>
<div class="col-sm-6">
Esempio n. 2
0
} else {
    $AutoAssign = "0";
}
///////////////////////////////////////////////////////  DO NOT EDIT ANYTHING BEYOND THIS LINE   \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
// DATABASE INFORMATION WILL BE GIVEN BY COLDILLUSIONS.COM \\
$body = "?appid={$Website_App_Id}&url={$Website_Url_Auth}&autoassign={$AutoAssign}";
$url = 'http://www.pblast.in/apiauth.php';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url . $body);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, '3');
$content = trim(curl_exec($ch));
curl_close($ch);
$content = str_replace("))))==((((", "+", "{$content}");
$content = str_replace("((=))", "/", "{$content}");
$content = PbDecrypt($key, $content);
$content = unserialize($content);
if ($content['dbcontrol'] == "1") {
    $Website_Host = mysql_real_escape_string($content['host']);
    $Website_Db_Setup = mysql_real_escape_string($content['dbsetup']);
    $Website_Database = mysql_real_escape_string($content['db']);
    $Website_Username = mysql_real_escape_string($content['username']);
    $Website_Password = mysql_real_escape_string($content['password']);
    $Website_Domain = mysql_real_escape_string($content['domain']);
    $Website_Id = mysql_real_escape_string($content['websiteid']);
    $Website_Offline = mysql_real_escape_string($content['offline']);
    $Site_Setup = mysql_real_escape_string($content['sitesetup']);
} else {
    if (!isset($Website_Host)) {
        $Website_Host = mysql_real_escape_string($content['host']);
    }