array ( "vimeo.com", "youtube.com" ) ); //DEFINE WHAT FIELDS ARE ATTRIBUTES $main_menu_attr = array(); $num_main_menu_attr = count($main_menu_attr); //DEFINE WHAT FIELDS ARE LIBRARIES $main_menu_libs = array("pictures", "files"); $num_main_menu_libs = count($main_menu_libs); $main_menu_fields = array ( //GENERAL CONTENT "title_lang0" => array ( 1, 1, 1, 1, 1,/*attributes>*//*embeds>*//*uploads>*/ 1, 1 ), //must always have title, lang0 is the handler. "title_lang1" => array ( 1, 1, 1, 1, 1,/*attributes>*//*embeds>*//*uploads>*/ 0, 0 ), "text_lang0" => array ( 1, 0, 0, 0, 1,/*attributes>*//*embeds>*//*uploads>*/ 0, 0 ), "text_lang1" => array ( 1, 0, 0, 0, 1,/*attributes>*//*embeds>*//*uploads>*/ 0, 0 ), "description_lang0" => array ( 0, 1, 1, 1, 0,/*attributes>*//*embeds>*//*uploads>*/ 0, 0 ), "description_lang1" => array ( 0, 1, 1, 1, 0,/*attributes>*//*embeds>*//*uploads>*/ 0, 0 ), "price_lang0" => array ( 0, 1, 1, 0, 0,/*attributes>*//*embeds>*//*uploads>*/ 0, 0 ), "price_lang1" => array ( 0, 1, 1, 0, 0,/*attributes>*//*embeds>*//*uploads>*/ 0, 0 ), "address_lang0" => array ( 0, 0, 0, 1, 0,/*attributes>*//*embeds>*//*uploads>*/ 0, 0 ), "address_lang1" => array ( 0, 0, 0, 1, 0,/*attributes>*//*embeds>*//*uploads>*/ 0, 0 ), "phone1" => array ( 0, 0, 0, 0, 1,/*attributes>*//*embeds>*//*uploads>*/ 0, 0 ), "email" => array ( 0, 0, 0, 0, 1,/*attributes>*//*embeds>*//*uploads>*/ 0, 0 ), "url" => array ( 0, 1, 0, 0, 0,/*attributes>*//*embeds>*//*uploads>*/ 0, 0 ), //EMBEDS "embed" => array ( 0, 0, 0, 0, 0,/*attributes>*//*embeds>*//*uploads>*/ 0, 0 ), //UPLOADS "upload" => array ( 0, 0, 0, 0, 0,/*attributes>*//*embeds>*//*uploads>*/ 1, 1 ) ); $num_main_menu_fields = count($main_menu_fields); //DEFINE WHAT FIELDS ARE LONG TEXTS $longfields = array ( "text_lang0", "text_lang1", "description_lang0", "description_lang1", "price_lang0", "price_lang1", "address_lang0", "address_lang1", "embed"); $num_longfields = count($longfields); $main_menu_privileges= array( "connections" => array ( 1, 1, 1, 1, 0,/*attributes>*//*embeds>*//*uploads>*/ 0, 0 ), //possible to attatch connections to this item? "additem" => array ( 0, 1, 1, 1, 0,/*attributes>*//*embeds>*//*uploads>*/ 1, 1 ), //possible to add items? "changenumber" => array ( 0, 1, 1, 1, 0,/*attributes>*//*embeds>*//*uploads>*/ 1, 0 ), //possible to change order of items? "delete" => array ( 0, 1, 1, 1, 0,/*attributes>*//*embeds>*//*uploads>*/ 1, 1 ) //possible to delete items? ); $main_menu_conprivileges= array( "index" => array ( 0, 0, 0, 0, 0,/*attributes>*//*embeds>*//*uploads>*/ 1, 0 ), //what items can you connect to this item? "accommodaties" => array ( 0, 0, 0, 0, 0,/*attributes>*//*embeds>*//*uploads>*/ 1, 0 ), //what items can you connect to this item? "autos" => array ( 0, 0, 0, 0, 0,/*attributes>*//*embeds>*//*uploads>*/ 1, 0 ), //what items can you connect to this item? "omgeving" => array ( 0, 0, 0, 0, 0,/*attributes>*//*embeds>*//*uploads>*/ 1, 0 ) //what items can you connect to this item? ); //// END OF SITE ITEMS AND THEIR EDITABLE FIELDS //// //WHAT VIEW ARE WE IN? $viewnr = $_GET[viewnr]; if($viewnr == NULL){ $viewnr = 0;} $view = $main_menu_views[$viewnr]; //WHAT IS THE EDITID? $editid = $_GET[editid]; //WHAT LANGUAGE ARE WE EDITING? $langnr = $_GET[langnr]; if($langnr == NULL){ $langnr = 0;} //GET TITLE FOR EDITID ITEM TO DISPLAY IN HEADS if($editid != 'add' && $editid != NULL) { $edititem = mysql_query("SELECT * FROM " . $db_prefix . "_" . $view . " WHERE `id` = " . $editid . " ORDER BY id ASC"); $title = mysql_result($edititem,0,"title_lang0"); } ?> Saskia Burggraaf
Sep 2
Home  /  Agenda  /  2016 BYOB @ Stedelijk

2016 BYOB @ Stedelijk

 
  Sept 2
VALUE ADDED#2 shown at BYOB
Also showed new work of The Holls Collective
 
 
Related items