"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "controllers/website.ctrl.php" between
seopanel.v.4.5.0.zip and seopanel.v.4.6.0.zip

About: Seo Panel is a seo control panel for managing search engine optimization of your websites.

website.ctrl.php  (seopanel.v.4.5.0):website.ctrl.php  (seopanel.v.4.6.0)
skipping to change at line 214 skipping to change at line 214
} }
#remove directory results #remove directory results
$sql = "delete from dirsubmitinfo where website_id=$websiteId"; $sql = "delete from dirsubmitinfo where website_id=$websiteId";
$this->db->query($sql); $this->db->query($sql);
$sql = "delete from skipdirectories where website_id=$websiteId"; $sql = "delete from skipdirectories where website_id=$websiteId";
$this->db->query($sql); $this->db->query($sql);
} }
function newWebsite($info=''){ function newWebsite($info='') {
$userId = isLoggedIn(); $userId = isLoggedIn();
// check whether user have only readonly website access
if (SP_CUSTOM_DEV) {
redirectUrlByScript(SP_WEBPATH . "/admin-panel.php");
exit;
}
if(!empty($info['check']) && !$this->__getCountAllWebsites($userI d)){ if(!empty($info['check']) && !$this->__getCountAllWebsites($userI d)){
$this->set('msg', $this->spTextWeb['plscrtwebsite'].'<br> Please <a href="javascript:void(0);" onclick="scriptDoLoad(\'websites.php\', \'c ontent\')">'.strtolower($_SESSION['text']['common']['Activate']).'</a> '.$this-> spTextWeb['yourwebalreday']); $this->set('msg', $this->spTextWeb['plscrtwebsite'].'<br> Please <a href="javascript:void(0);" onclick="scriptDoLoad(\'websites.php\', \'c ontent\')">'.strtolower($_SESSION['text']['common']['Activate']).'</a> '.$this-> spTextWeb['yourwebalreday']);
} }
# Validate website count # Validate website count
if (!$this->validateWebsiteCount($userId)) { if (!$this->validateWebsiteCount($userId)) {
$this->set('validationMsg', $this->spTextWeb['Your websit e count already reached the limit']); $this->set('validationMsg', $this->spTextWeb['Your websit e count already reached the limit']);
} }
# get all users # get all users
 End of changes. 2 change blocks. 
2 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)