<?php include "../scripts/db.php"; $user = $_POST["user"]; $pass = $_POST["p"]; $_s = $_POST["_s"]; if (isset($pass) && !$wall) { $fed = new notifications(); if (isset($_s)) { $con = new db(); $conc = $con->c(); $new_not = new_not_num($conc, $user, $_s); if ($new_not != 200000) { print $new_not . "____"; print $fed->createFeed($conc, $user, 5); mysqli_kill($conc, mysqli_thread_id($con->c())); mysqli_close($con->c()); } else { mysqli_kill($conc, mysqli_thread_id($con->c())); mysqli_close($con->c()); echo "none"; exit; } } else { $con = new db(); $conc = $con->c(); print $fed->createFeed($conc, $user, 30); $con->close_db_con($conc); } } class notifications