%@ $Language=JScript /* PARA COLORES PHP */ %><%
include("../includes/DB_Conectar.php");
//include("../includes/inc_auth.php");
include("../includes/funciones.php");
if(isset($borratodo)){
foreach($_POST as $key => $value ) {
//echo "$key:$value
";
if(substr($key,0,4)=='chk_') {
$qrtab = $conn->execute("select tabID from Tablas where tabNombre ='Banners' ");
$tabID = $qrtab->field(tabID);
$qrdel = $conn->execute("delete from ADVF_Vinculante where fgnID = '$value' and tabID = '$tabID'");
$sqdele = "delete from Banners where banID = '$value'";
$qrdele = $conn->execute($sqdele); }
}
}
%>