//JS QUOTE
$quot = '"';
//CLIENT DETAILS
$client_name = "Saskia Burggraaf";
$webaddress = "";
//DATABASE DATA
$db_user = "md348555db437262";
$db_pass = "S5K8nDM8";
$db_name = "md348555db437262";
//PREFIX OF DB (example: mj_work)
$db_prefix = "sb";
//ADMIN PASSWORD
$user1='admin';
$pass1='password';
// CONNECT TO DATABASE
$con = mysql_connect("db.saskiaburggraaf.com", $db_user, $db_pass);
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db($db_name, $con);
?>
//// MENU ITEMS AND THEIR EDITABLE FIELDS. 0 = NOT EDITABLE, 1 = EDITABLE ////
//DEFINE LANGUAGES
$languages = array ("nl", "de");
//HOW MANY LANGUAGES?
$num_langs = count($languages);
$main_menu_views = array ( "index",
"accommodaties",
"autos",
"omgeving",
"reserveren",
/*ATTRIBUTES START HERE, EMBEDS FIRST*/
/*MEDIA LIBRARIES START HERE, EMBEDS FIRST*/
/*UPLOADS START HERE*/
"pictures",
"files"
);
$num_main_menu_views = count($main_menu_views);
//DEFINE WHAT FIELDS ARE UPLOADS
$main_menu_files = array("pictures", "files");
$num_main_menu_files = count($main_menu_files);
//DEFINE WHAT FIELDS ARE EMBEDS
$main_menu_embeds = array("videos");
$num_main_menu_embeds = count($main_menu_embeds);
//WHAT SOURCES FOR EMBEDDING ARE ALLOWED
$embed_allow = array (
0 => 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
VALUE ADDED #2 , 2015 , video project / installation consisting of video, posters and objects (video : 15:49 min)
Made during residency at Surface Arts in Chiang Mai, 2015
Trough objects and the personal stories behind them I try to find out about a subculture or scene.
#1 was made in my own town at a squatter initiative : Give Away Shop Haarlem. #2 was in the art scene of Chiang Mai. The stories came to me by talking to people and inviting them to my studio. Trough almost commercial looking (infomercial) images and voice over, personal stories are being told. The contrast between commercial (form) and alternative (content) makes the spectator wonder about what is true or not. The video is showing small elements of this alternative society, but also on a larger scale how personal value can change in different circumstances. The personal becomes political.
For more stories about my residency, read my blog here