367,9 → 367,9 |
public function updateDistribution($distID, $distname, $disttype, $distua, $distlogo = 0) { |
$result = array(); |
$sDID = $this->secure->checkInt($distID); |
$sDName = $this->secure->checkStr($distname,1); |
$sDName = $this->secure->checkStr($distname); |
$sDType = $this->secure->checkInt($disttype); |
$sDUAgt = $this->secure->checkStr($distua,1); |
$sDUAgt = $this->secure->checkStr($distua); |
$sDLogo = $this->secure->checkInt($distlogo); |
|
if ($sDLogo!=0) { |
687,8 → 687,8 |
public function updateSection($sectionID, $sname, $sinfo = "") { |
$result = array(); |
$sSectID = $this->secure->checkInt($sectionID); |
$sSName = $this->secure->checkStr($sname,1); |
$sSInfo = $this->secure->checkStr($sinfo,1); |
$sSName = $this->secure->checkStr($sname); |
$sSInfo = $this->secure->checkStr($sinfo); |
|
$query = "UPDATE ".$this->prefix."section SET secname='".$sSName."', sectinfo='".$sSInfo."' WHERE sect_id='".$sSectID."'"; |
$rq =& $this->db->query($query); |
876,7 → 876,7 |
public function updateArch($archID, $arch) { |
$result = array(); |
$sArchID = $this->secure->checkInt($archID); |
$sArch = $this->secure->checkStr($arch,1); |
$sArch = $this->secure->checkStr($arch); |
|
$query = "UPDATE ".$this->prefix."arch SET arch='".$sArch."' WHERE arch_id='".$sArchID."'"; |
$rq =& $this->db->query($query); |
1024,7 → 1024,7 |
public function updateScheme($schemeID, $info) { |
$result = array(); |
$sSchemeID = $this->secure->checkInt($schemeID); |
$sScheme = $this->secure->checkStr($info,1); |
$sScheme = $this->secure->checkStr($info); |
|
$query = "UPDATE ".$this->prefix."repscheme SET scheme='".$sScheme."' WHERE scheme_id='".$sSchemeID."'"; |
$rq =& $this->db->query($query); |
1172,7 → 1172,7 |
public function updateProto($protoID, $info) { |
$result = array(); |
$sProtoID = $this->secure->checkInt($protoID); |
$sProto = $this->secure->checkStr($info,1); |
$sProto = $this->secure->checkStr($info); |
|
$query = "UPDATE ".$this->prefix."protos SET proto='".$sProto."' WHERE proto_id='".$sProtoID."'"; |
$rq =& $this->db->query($query); |
1283,8 → 1283,8 |
public function updateSign($signID, $sname, $sinfo = "") { |
$result = array(); |
$sSignID = $this->secure->checkInt($signID); |
$sSName = $this->secure->checkStr($sname,1); |
$sSInfo = $this->secure->checkStr($sinfo,1); |
$sSName = $this->secure->checkStr($sname); |
$sSInfo = $this->secure->checkStr($sinfo); |
|
$query = "UPDATE ".$this->prefix."signs SET sname='".$sSName."', sinfo='".$sSInfo."' WHERE sign_id='".$sSignID."'"; |
$rq =& $this->db->query($query); |