? // Also, treat unfound tags as possible function calls... if hit's default switch, check if it's a valid user function, and if so, call it. // Add CSS loading tags include_once ("/var/www/spamwall.entorno.es/system/conf/sw.conf"); include_once "$SW_PATH_SYSTEM/includes/sw_cons.inc.php"; include_once "$SW_PATH_SYSTEM/includes/sw_ldap.inc.php"; include_once "$SW_PATH_SYSTEM/includes/sw_func.inc.php"; include_once "$SW_PATH_SYSTEM/classes/render.class"; include_once "$SW_PATH_SYSTEM/classes/ldap.class"; include_once "$SW_PATH_SYSTEM/classes/client.class"; // ------------ START OF EXAMPLE PAGE ------------ $example_add_client = array ( /* "LDAP" => new sw_LDAP(), $LDAP->connect(), $LDAP->bind(), "CLIENT" => new sw_Client ($LDAP->$ldap_session->connection), */ // Declare if the page is cacheable "CACHE" => FALSE, // Load a client // $CLIENT->load ("entornodigital"), // Set the header file to load, and any Java Script includes "HEADER" => array ("TEMPLATE_FILE" => "page_header", "JAVASCRIPT" => array ("MM_images", "mousexy", "color_box_change", "AJS", "AJS_fx", "greybox", "calendar1" ), ), // Create the structure of the tabs menu "TABS" => array ( "Search" => array ("Google" => "http://www.google.com/", "Yahoo" => "http://www.yahoo.com/", "Lycos" => "http://www.lycos.com/"), "Linux" => array ("SubVS" => "http://www.subvs.co.uk/", "Ubuntu" => "http://www.ubuntu.com/", "SUSE/Novell" => "http://www.suse.com/", "Linux" => "http://www.linux.org", "Kernel" => "http://www.kernel.org/", "SlackWare" => "http://www.slackware.org", "DistroWatch" => "http://www.distrowatch.org"), "Hacking" => array ("Milw0rm" => "http://www.milw0rm.com/", "Hackers Choice" => "http://www.thc.org/", "Asta La Vista" => "http://www.astalavista.com/"), "General" => array ("Entorno" => "http://www.entorno.com/", "The Register" => "http://www.theregister.co.uk/", "BBC News" => "http://news.bbc.co.uk/"), "Hello" => array ("Miles" => "http://www.milesbarry.com/", "Anything" => "http://www.anything.com/"), ), // Define the centre section of the page "CENTRE" => array ( // Load a centre page file "CENTRE_FILE" => "page_centre", // Load any sub-elements of the centre page "CENTRE_CONTAINS" => array ( "TITLE_BAR" => "title_bar", "FORM" => "new_client" ), // Replace any tags as required "FORM_REPLACE" => array ( // Company Information Section "COMPANY_INFORMATION" => "COMPANY INFORMATION", "TB_COMPANY_NAME" => array ( "textBox" => array ("sw_cl_name", "Name", "negro", "cambia_capa('com_inf')", $test->o), ), "TB_COMPANY_ADDR" => array ( "textBox" => array ("sw_cl_addr", "Address", "negro", "cambia_capa('com_inf')", "Calle Santa Anna"), ), "TB_COMPANY_CITY" => array ( "textBox" => array ("sw_cl_city", "City", "negro", "cambia_capa('com_inf')", "Barcelona"), ), "TB_COMPANY_POSTCODE" => array ( "textBox" => array ("sw_cl_postcode", "Postcode", "negro", "cambia_capa('com_inf')", "08290"), ), "TB_COMPANY_COUNTRY" => array ( "countryList" => array (""), ), "TB_COMPANY_TELEPHONE" => array ( "textBox" => array ("sw_cl_telephone", "Telephone", "negro", "cambia_capa('com_inf')", "") ), "TB_COMPANY_FAX" => array ( "textBox" => array ("sw_cl_fax", "Fax", "negro", "cambia_capa('com_inf')",""), ), "TB_COMPANY_EMAIL" => array ( "textBox" => array ("sw_cl_email", "Email", "negro", "cambia_capa('com_inf')",""), ), "TB_COMPANY_REFERENCE" => array ( "textBox" => array ("sw_cl_reference", "Reference", "negro", "cambia_capa('com_inf')",""), ), // Service Settings Section "TB_SERVICE_FROM_DATE" => array ( "calendarBox" => array ("sw_cl_sfrom", "Valid From", "negro", "ser_set"), ), "TB_SERVICE_UNTIL_DATE" => array ( "calendarBox" => array ("sw_cl_suntil", "Valid Until", "negro", "ser_set"), ), ), ), // Load the footer "FOOTER" => "page_footer" );