case 'brokenlink': include_once "modules/{$ModPath}/links-3.php"; brokenlink($lid); break; case 'brokenlinkS': include_once "modules/{$ModPath}/links-3.php"; brokenlinkS($lid, $modifysubmitter); break; case 'modifylinkrequest': include_once "modules/{$ModPath}/links-3.php"; settype($modifylinkrequest_adv_infos, 'string'); modifylinkrequest($lid, $modifylinkrequest_adv_infos, $author); break; case 'modifylinkrequestS': include_once "modules/{$ModPath}/links-3.php"; modifylinkrequestS($lid, $cat, $title, $url, $xtext, $modifysubmitter, $topicL); break; case 'visit': visit($lid); break; case 'search': include_once "modules/{$ModPath}/links-1.php"; $offset = 10; if (!isset($min)) { $min = 0; } if (!isset($max)) { $max = $min + $offset; } links_search($query, $topicL, $min, $max, $offset); break;
MostPopular($ratenum, $ratetype); break; case "RandomLink": RandomLink(); break; case "viewlink": viewlink($cid, $min, $orderby, $show); break; case "brokenlink": brokenlink($lid); break; case "modifylinkrequest": modifylinkrequest($lid); break; case "modifylinkrequestS": modifylinkrequestS($lid, $cat, $title, $url, $description, $modifysubmitter); break; case "brokenlinkS": brokenlinkS($lid, $cid, $title, $url, $description, $modifysubmitter); break; case "visit": visit($lid); break; case "Add": Add($title, $url, $auth_name, $cat, $description, $email); break; case "search": search($query, $min, $orderby, $show); break; case "rateinfo": rateinfo($lid, $user, $title);
break; case "viewlink": if ($cid == 0) { index(); break; } viewlink($cid, isset($_POST['min']) ? $_POST['min'] : 0, isset($_GET['orderby']) ? $_GET['orderby'] : '', isset($_POST['show']) ? $_POST['show'] : ''); break; case "brokenlink": brokenlink($lid); break; case "modifylinkrequest": modifylinkrequest($lid); break; case "modifylinkrequests": modifylinkrequestS($lid, $cat, $_POST['title'], $_POST['url'], $_POST['description'], $_POST['modifysubmitter']); break; case "brokenlinks": brokenlinkS($_POST['lid'], $_POST['cid'], $_POST['title'], $_POST['url'], $_POST['description'], $_POST['modifysubmitter']); break; case "visit": visit($lid); break; case 'featured': featured(); break; case "add": add_link($_POST['title'], $_POST['url'], $_POST['auth_name'], $cat, $_POST['description'], $_POST['email']); break; case "search": search(isset($_POST['query']) ? $_POST['query'] : $_GET['query'], isset($_POST['min']) ? intval($_POST['min']) : 0, isset($_GET['orderby']) ? $_GET['orderby'] : '', isset($_POST['show']) ? $_POST['show'] : '');