public static function photo_del() { $photoId = empty($_GET['photoId']) ? "" : $_GET['photoId']; mod_index::delPhoto($photoId); $rs = mod_index::getPhoto(); render_template("photo.php", array("photo_list" => $rs)); }