old phatform database!
DSN: $dsn"); } else { $db->setFetchMode(DB_FETCHMODE_ASSOC); return $db; } } function new_connect() { $dsn = "mysql://" . NEW_DBUSER . ":" . NEW_DBPASS . "@" . NEW_DBHOST . "/" . NEW_DBNAME; $db = DB::connect($dsn, TRUE); if(DB::isError($db)) { exit("There was a problem connecting to your new phatform database!
DSN: $dsn"); } else { $db->setFetchMode(DB_FETCHMODE_ASSOC); return $db; } } $db = old_connect(); $formSQL = "SELECT * FROM " . OLD_PREFIX . "mod_phatform_forms WHERE id='5'"; $result = $db->getAll($formSQL); $db->disconnect(); $db = NULL; $GLOBALS["core"] = $core = new PHPWS_Core(NULL, "../../../"); if(sizeof($result) > 0) { $db = new_connect(); foreach($result as $form) { $oldForm = unserialize($form["data"]); $newForm = new PHAT_Form; $newForm->_blurb0 = $oldForm->form_description; $newForm->_blurb1 = "Thank you for your submission!"; $newForm->_label = $oldForm->form_name; $newForm->_saved = 0; if($oldForm->element_limit) $newForm->_pageLimit = $oldForm->element_limit; else $newForm->_pageLimit = 200; if($oldForm->multi_submit) $newForm->_multiSubmit = 1; else $newForm->_multiSubmit = 0; $newForm->_approved = 1; $newForm->_hidden = 0; /* Reset old element arrays to prepare for element conversion */ reset($oldForm->text_field); reset($oldForm->text_area); reset($oldForm->radio_button); reset($oldForm->drop_box); reset($oldForm->check_box); /* Convert each form element */ foreach($oldForm->elements as $arrayKey=>$arrayName) { $queryData = array(); $oldElement = next($oldForm->$arrayName); switch($arrayName) { case "text_field": if(get_class($oldElement) == "cls_phat_text_field") { $queryData["label"] = "question_" . ($arrayKey+1); $queryData["blurb"] = $oldElement->extra_text; $queryData["size"] = $oldElement->size; $queryData["maxsize"] = $oldElement->maxsize; $queryData["hidden"] = 0; $queryData["approved"] = 1; $queryData["created"] = time(); $queryData["updated"] = time(); $queryData["owner"] = "converted"; $queryData["editor"] = "converted"; $queryData["ip"] = $_SERVER["REMOTE_ADDR"]; $queryData["groups"] = array(); if($oldElement->required) $queryData["required"] = 1; else $queryData["required"] = 0; $id = $core->sqlInsert($queryData, "mod_phatform_textfield", FALSE, TRUE); $newForm->_elements[] = "phat_textfield:" . $id; } break; case "radio_button": if(get_class($oldElement) == "cls_phat_radio_button") { $queryData["label"] = "question_" . ($arrayKey+1); $queryData["blurb"] = $oldElement->extra_text; $queryData["optionText"] = $oldElement->options; $queryData["optionValues"] = $oldElement->options; $queryData["hidden"] = 0; $queryData["approved"] = 1; $queryData["created"] = time(); $queryData["updated"] = time(); $queryData["owner"] = "converted"; $queryData["editor"] = "converted"; $queryData["ip"] = $_SERVER["REMOTE_ADDR"]; $queryData["groups"] = array(); if($oldElement->required) $queryData["required"] = 1; else $queryData["required"] = 0; $id = $core->sqlInsert($queryData, "mod_phatform_radiobutton", FALSE, TRUE); $newForm->_elements[] = "phat_radiobutton:" . $id; } break; } } $newForm->_owner = "converted"; $newForm->_editor = "converted"; $newForm->_created = time(); $newForm->_updated = time(); $newForm->_ip = $_SERVER["REMOTE_ADDR"]; $newForm->_showElementNumbers = 0; $newForm->_showPageNumbers = 1; $_SESSION["OBJ_user"]->username = "converted"; $newForm->commit(); } } ?> = theIframe.offsetHeight + result[1]; break; default: theIframe.height = vsize; } // end switch(vsize) // alert(browser.isMozilla); } /* end upsize() */ upsize({TITLE}); //]]> l">Estimated Number of Gaming Machines Sold in May 2006
  • Estimated Number of Gaming Machines Sold in April 2006
  • Estimated Number of Gaming Machines Sold in March 2006
  • Estimated Number of Gaming Machines Sold in February 2006
  • Diffusion Index in 2ndQ 2006
  • Intention of Reinvestment on Gaming Machines in 2ndQ 2006
  • Intention of Reinvestment on Operation Systems etc. in 2ndQ 2006
  • Industrial News

    EBIカジノ事業

    Entertainment Business Institute(EBI), formerly Ace Research Institute, is one of the major research and consulting agencies specializing in the gaming industry in Japan. In its 14 year research and consulting experience, EBI plays important roll for the Pachinko/Pachi-slot industry. EBI and Ace Denken, our parent company, funded for International Gaming Institute (IGI) at University of Nevada, Las Vegas, and kept supporting academic research work for international gaming industries for 14 years.

    | 特定商取引法上の表示事項お問い合わせサイトマップ会社概要
    Copyright (C) 2004 Entertainment Business Institute Inc. All Rights Reserved.