\n"; } function formInput($header, $varName, $value , $maxlength, $type="text" ) { echo "$header\n"; echo "
\n"; } function formFile($header, $varName) { echo "$header\n"; echo "
\n"; echo "\n"; } function formSelect($header, $varName) { echo "$header\n"; echo "$value\n"; } function formOption($value, $varName) { echo "\n"; } function wiklinkTree($id=0, $depth = "") { $depth .= "   "; $query = "SELECT folder_id, folder_name FROM wiklink_folder WHERE folder_parent ='$id' ORDER BY folder_name ASC"; $result = execQuery($query); while ($pt = nextLine($result)) { formOption("$pt->folder_id", "$depth--> $pt->folder_name"); wiklinkTree($pt->folder_id, $depth); } } function formSelectEnd() { echo "\n"; } function formHidden($value, $varName) { echo "\n"; } function endForm($name, $value) { echo "\n"; echo "
\n"; } function endFormAlternate($name, $value, $name2, $value2) { // submit form with 2 choices echo " "; echo ""; echo ""; } function formatVar($txt, $type, $maxLen) { global $lang; $txt = chop($txt); if (strlen($txt) > $maxLen) { echo $lang['error']." ".$txt." ".$lang['e_long']; generateBottom(); exit; } $txt = ereg_replace("&#", "", $txt); $txt = ereg_replace("&", "&", $txt); // prevent http://validator.w3.org/docs/errors.html#bad-entity if ($type == "normal") { if ($txt=="") $txt="-"; switch (WIK_CASE) { case "Word": $txt = strtolower($txt); $txt = ucfirst($txt); break; case "UPPER": $txt = strtoupper($txt); break; case "lower": $txt = strtolower($txt); break; case "rot13": $txt = strtr($txt,"NnOoPpQqRrSsTtUuVvWwXxYyZzAaBbCcDdEeFfGgHhIiJjKkLlMm","AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz"); default: break; } $txt = strip_tags($txt); } if ($type == "query") { $txt = strtolower($txt); $txt = strip_tags($txt); //if (strlen($txt)< 2) $txt .=""; } if ($type == "url") { $type_arr = explode('://', $txt); if ($type_arr[0]) { $protocol = strtolower($type_arr[0]); if (($protocol != 'http') AND ($protocol != 'https') AND ($protocol != 'ftp') AND ($protocol != 'telnet') AND ($protocol != 'news')) { echo $lang['error']." ".$txt." ".$lang['e_valid']; generateBottom(); exit; } } else { echo $lang['error']." ".$txt." ".$lang['e_valid']; generateBottom(); exit; } if (strlen($txt)<12) { echo $lang['error']." ".$txt." ".$lang['e_valid']; generateBottom(); exit; } $txt= ereg_replace(" ", "", $txt); $txt= ereg_replace("<", "", $txt); $txt= ereg_replace(">", "", $txt); } return $txt; } ?> Teleferique Bookmarks
*** WikLink is your Link *** --------------------- TELEFERIQUE --------------------- ---------------- Auto-edition de signets -------------- ---------------- Bookmarks self-edition --------------- -------------------------------------------------------
      Name                    Last Modified         Size  Description

 [BACK]Parent Directory        22-Sep-2019 08:09     - 

  Search