function dataDecode($type, $dataJson) { $decodeJson = jsonDecode($dataJson); if (in_array($type, array(1, 4))) { $keyNameList = array('dlrNo' => '专营店编号', 'activityName' => '活动主题', 'activityAddress' => '活动地址', 'activityTime' => '活动时间段', 'activityType' => '活动类型', 'activityCost' => '<font color="blue">活动额度</font>', 'budgetApply' => '<font color="blue">预算总费用</font>', 'orderStatus' => '站点状态', 'siteSpecs' => '巡展类型标志', 'settleApply' => '<font color="blue">结算申请总费用</font>', 'clearingPath' => '结算凭证', 'kpi' => 'KPI系数', 'settleMoney' => '结算金额'); $valueList = array(); foreach ($decodeJson as $k => $v) { if (isset($keyNameList[$k])) { $valueList[] = $keyNameList[$k] . ':"' . $v . '"'; } } return implode(',', $valueList); } elseif (in_array($type, array(2, 5))) { $keyNameList = array('adType' => '媒体类型', 'adName' => '媒体名称', 'adSpecification' => '投放规格', 'adTime' => '发布时间段', 'adCount' => '发布频次', 'budgetApply' => '<font color="blue">预计费用</font>', 'settleApply' => '<font color="blue">实际费用</font>'); $valueList = array(); foreach ($decodeJson as $k => $v) { if (isset($keyNameList[$k])) { $valueList[] = $keyNameList[$k] . ':"' . $v . '"'; } } return implode(';', $valueList); } elseif (in_array($type, array(3, 6))) { $keyNameList = array('activityAddress' => '活动地址', 'activityTime' => '活动时间段', 'budgetApply' => '<font color="blue">预计费用</font>', 'settleApply' => '<font color="blue">实际费用</font>'); $keyNameList2 = array('detailType' => '费用明细类型', 'detailName' => '费用明细名称', 'detailTime' => '活动时间段', 'budgetApply' => '<font color="blue">预计费用</font>', 'settleApply' => '<font color="blue">实际费用</font>'); $xunDetailType = $this->config->item('xunDetailType'); $xunDetailName = $this->config->item('xunDetailName'); $valueList = array(); foreach ($decodeJson as $k => $v) { if (isset($keyNameList[$k])) { $valueList[] = $keyNameList[$k] . ':"' . $v . '"'; } } $valueList2 = array(); if (isset($decodeJson->detailData)) { foreach ($decodeJson->detailData as $k => $v) { $valueList3 = array(); foreach ($v as $kk => $vv) { if (isset($keyNameList2[$kk])) { if ($kk == 'detailType') { $vv = isset($xunDetailType[$vv]) ? $xunDetailType[$vv] : ''; } if ($kk == 'detailName') { $vv = isset($xunDetailName[$decodeJson->detailData[0]->detailType][$vv]) ? $xunDetailName[$decodeJson->detailData[0]->detailType][$vv] : ''; } $valueList3[] = $keyNameList2[$kk] . ':"' . $vv . '"'; } } $valueList2[] = implode(';', $valueList3); } } $valueList[] = '<br><font color="blue">线下活动明细:</font><br>' . implode('<br>', $valueList2); return implode(';', $valueList); } return ''; }
function JSON_RFC($jsonRequest) { $rfc = jsonDecode($jsonRequest); $rfc_data = new stdClass(); if (is_string($rfc->rfc_session) && is_string($rfc->rfc_object) && is_string($rfc->rfc_method) && isset($rfc->rfc_data)) { $this->rfc_session = $rfc->rfc_session; $this->rfc_object = $rfc->rfc_object; $this->rfc_method = $rfc->rfc_method; $this->rfc_data = $rfc->rfc_data; } elseif (is_string($rfc->rfc_session) && is_string($rfc->rfc_object) && is_string($rfc->rfc_method) && isset($rfc->query_string)) { $this->rfc_session = $rfc->rfc_session; $this->rfc_object = $rfc->rfc_object; $this->rfc_method = $rfc->rfc_method; $this->query_string = $rfc->query_string; } }
public function testJsonDecodeLint() { $expected = <<<EOT Parse error on line 1: {"a": {[]} ------^ Expected one of: 'STRING', '}' EOT; try { $str = jsonDecode('{"a": {[]}', false, 512, 0, false, true); } catch (Exception\JsonDecodeException $e) { self::assertEquals($expected, $e->getData()['errDetail']); $err = $e; } self::assertInstanceOf('Keboola\\Utils\\Exception\\JsonDecodeException', $err); }
$obj->setEmailaddress('*****@*****.**'); $obj->setPaymenttype('check'); $obj->setStreetaddress1('520 Madison Ave'); $obj->setStreetaddress2(''); $obj->setCity('Covington'); $obj->setState('KY'); $obj->setZip('41011'); $obj->setCountry('United States'); $obj->setAcceptagreement('true'); $obj->setExperiencelevel('amateur'); $obj->setPublicname('PTG'); $obj->setWebsite('http://www.photagious.com'); $obj->setBiography('I\'m just a developer, nothing special'); $equipment = array(); $cam1 = new CCitizenImageCamera("Canon","Powershot G7","8","Circular Polarizer, Softmat Filter #2"); $cam2 = new CCitizenImageCamera("Olympus","D-540","1",""); $cam3 = new CCitizenImageCamera("Sony","Cybershot DSC-P200","4",""); array_push($equipment,$cam1); array_push($equipment,$cam2); array_push($equipment,$cam3); $obj->setEquipment($equipment); $obj->setSchools('Bowling Green State University, University of Cincinnati'); $obj->setCourses('PHOTO 101, PHOTO 102, PHOTO 103'); $obj->setAccepthostingagreement('true'); $result = $obj->save(); print_r($result);*/ $test = urldecode('%7B%22US_ID%22%3A%222087%22%2C%22US_U_ID%22%3A%221%22%2C%22US_KEY%22%3A%22d8138ed5128c5faa7f2ec01170386097%22%2C%22US_NAME%22%3A%22Babysitting+Adventures+Part+2%22%2C%22US_TAGS%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfavorites%2Cfebruary%2C%22%2C%22US_PRIVACY%22%3A%2213%22%2C%22SETTINGS%22%3A%5B%7B%22y_int%22%3A50%2C%22x_int%22%3A128%2C%22width_int%22%3A865%2C%22visible_bool%22%3Afalse%2C%22tip_bool%22%3Afalse%2C%22title_str%22%3A%22Babysitting+Adventures+Part+2%22%2C%22startAutoPlay_bool%22%3Afalse%2C%22shadowInner_bool%22%3Afalse%2C%22shadowColor_int%22%3A%220x000000%22%2C%22shadowAlpha_int%22%3A0.5%2C%22shadowY_int%22%3A10%2C%22shadowX_int%22%3A10%2C%22shadowDistance_int%22%3A10%2C%22shadowAngle_int%22%3A45%2C%22shareVisible_bool%22%3Atrue%2C%22picHeight_int%22%3A450%2C%22picWidth_int%22%3A600%2C%22photoBackgroundFixed_bool%22%3Afalse%2C%22photoBorder_bool%22%3Atrue%2C%22photoShadow_bool%22%3Atrue%2C%22photoMask_bool%22%3Afalse%2C%22password_str%22%3A%22%22%2C%22musicPath_str%22%3A%22%5C%2Fmp3%5C%2F200702%5C%2F1_1170393856.mp3%22%2C%22mainColor_str%22%3A%220x808080%22%2C%22loop_bool%22%3Afalse%2C%22logoVisible_bool%22%3Atrue%2C%22depth_int%22%3A21111%2C%22instanceName_str%22%3A%22config_mc%22%2C%22indexPath_str%22%3A%22assets%5C%2Findex.swf%22%2C%22hotSpotRollOver_bool%22%3Afalse%2C%22highlightColor_str%22%3A%220xE1E1E1%22%2C%22height_int%22%3A570%2C%22customizableDisplay_bool%22%3Atrue%2C%22customizableColor_bool%22%3Atrue%2C%22controlsVisible_bool%22%3Atrue%2C%22borderThickness_int%22%3A10%2C%22backgroundColor_str%22%3A%220x2F2F2F%22%2C%22autoCrop_bool%22%3Afalse%2C%22alpha_int%22%3A0%2C%22activeGenre_str%22%3A%22My+Music%22%2C%22activeSong_str%22%3A%22%5C%2Fmp3%5C%2F200702%5C%2F1_1170393856.mp3%22%7D%2C%7B%22y_int%22%3A0%2C%22x_int%22%3A0%2C%22visible_bool%22%3Atrue%2C%22tip_bool%22%3Afalse%2C%22title_str%22%3A%22Babysitting+Adventures+Part+2%22%2C%22swfPath_str%22%3A%22assets%5C%2Fintro.swf%22%2C%22startAutoPlay_bool%22%3Afalse%2C%22shareVisible_bool%22%3Atrue%2C%22resizable_bool%22%3Afalse%2C%22password_str%22%3A%22%22%2C%22musicPath_str%22%3A%22%22%2C%22loop_bool%22%3Afalse%2C%22logoVisible_bool%22%3Atrue%2C%22depth_int%22%3A90000%2C%22instanceName_str%22%3A%22intro_mc%22%2C%22hotSpotRollOver_bool%22%3Afalse%2C%22controlsVisible_bool%22%3Atrue%2C%22backgroundColor_str%22%3A%220x000000%22%7D%2C%7B%22tip_bool%22%3Afalse%2C%22title_str%22%3A%22Babysitting+Adventures+Part+2%22%2C%22swfPath_str%22%3A%22assets%5C%2Fcontrol_bg.swf%22%2C%22startAutoPlay_bool%22%3Afalse%2C%22shareVisible_bool%22%3Atrue%2C%22resizable_bool%22%3Afalse%2C%22password_str%22%3A%22%22%2C%22musicPath_str%22%3A%22%22%2C%22loop_bool%22%3Afalse%2C%22logoVisible_bool%22%3Atrue%2C%22depth_int%22%3A111%2C%22instanceName_str%22%3A%22controlContainer_mc%22%2C%22hotSpotRollOver_bool%22%3Afalse%2C%22controlsVisible_bool%22%3Atrue%7D%2C%7B%22y_int%22%3A0%2C%22x_int%22%3A0%2C%22width_int%22%3A865%2C%22tip_bool%22%3Afalse%2C%22title_str%22%3A%22Babysitting+Adventures+Part+2%22%2C%22startAutoPlay_bool%22%3Afalse%2C%22shareVisible_bool%22%3Atrue%2C%22password_str%22%3A%22%22%2C%22musicPath_str%22%3A%22%22%2C%22loop_bool%22%3Afalse%2C%22logoVisible_bool%22%3Atrue%2C%22depth_int%22%3A1%2C%22instanceName_str%22%3A%22background_mc%22%2C%22hotSpotRollOver_bool%22%3Afalse%2C%22height_int%22%3A570%2C%22controlsVisible_bool%22%3Atrue%7D%2C%7B%22alpha_int%22%3A43%2C%22blur_int%22%3A4.8%2C%22y_int%22%3A0%2C%22x_int%22%3A0%2C%22visible_bool%22%3Atrue%2C%22depth_int%22%3A3%2C%22resizable_bool%22%3Afalse%2C%22swfPath_str%22%3A%22http%3A%5C%2F%5C%2Fstatic.photagious.com%5C%2Fphotos%5C%2Fcustom%5C%2F200702%5C%2F1170378230_IMG_4798_865_570.JPG%3F22661854a11db7d67fc8e6e1d3de90c9%22%2C%22instanceName_str%22%3A%22backgroundPhoto_mc%22%2C%22name_str%22%3Anull%2C%22photoId_int%22%3A%2260097%22%2C%22photoKey_str%22%3A%2222661854a11db7d67fc8e6e1d3de90c9%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378230_IMG_4798.JPG%22%2C%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378230_IMG_4798.JPG%22%7D%2C%7B%22tip_bool%22%3Afalse%2C%22title_str%22%3A%22Babysitting+Adventures+Part+2%22%2C%22startAutoPlay_bool%22%3Afalse%2C%22shareVisible_bool%22%3Atrue%2C%22password_str%22%3A%22%22%2C%22musicPath_str%22%3A%22%22%2C%22maskPath_str%22%3A%22assets%5C%2Fmasks%5C%2Frectangle.swf%22%2C%22loop_bool%22%3Afalse%2C%22logoVisible_bool%22%3Atrue%2C%22depth_int%22%3A8%2C%22instanceName_str%22%3A%22imageButton_mc%22%2C%22hotSpotRollOver_bool%22%3Afalse%2C%22controlsVisible_bool%22%3Atrue%2C%22backgroundColor_str%22%3A%220xffffff%22%2C%22alpha_int%22%3A0%7D%2C%7B%22width_int%22%3A600%2C%22tip_bool%22%3Afalse%2C%22title_str%22%3A%22Babysitting+Adventures+Part+2%22%2C%22startAutoPlay_bool%22%3Afalse%2C%22shareVisible_bool%22%3Atrue%2C%22password_str%22%3A%22%22%2C%22musicPath_str%22%3A%22%22%2C%22maskPath_str%22%3A%22assets%5C%2Fmasks%5C%2Frectangle.swf%22%2C%22loop_bool%22%3Afalse%2C%22logoVisible_bool%22%3Atrue%2C%22depth_int%22%3A10%2C%22instanceName_str%22%3A%22imageBackground_mc%22%2C%22hotSpotRollOver_bool%22%3Afalse%2C%22height_int%22%3A450%2C%22controlsVisible_bool%22%3Atrue%2C%22backgroundColor_str%22%3A%220xffffff%22%2C%22alpha_int%22%3A50%7D%2C%7B%22tip_bool%22%3Afalse%2C%22title_str%22%3A%22Babysitting+Adventures+Part+2%22%2C%22startAutoPlay_bool%22%3Afalse%2C%22shareVisible_bool%22%3Atrue%2C%22password_str%22%3A%22%22%2C%22musicPath_str%22%3A%22%22%2C%22maskPath_str%22%3A%22assets%5C%2Fmasks%5C%2Frectangle.swf%22%2C%22loop_bool%22%3Afalse%2C%22logoVisible_bool%22%3Atrue%2C%22depth_int%22%3A14%2C%22instanceName_str%22%3A%22mediaContainer_mc%22%2C%22hotSpotRollOver_bool%22%3Afalse%2C%22controlsVisible_bool%22%3Atrue%7D%2C%7B%22tip_bool%22%3Afalse%2C%22title_str%22%3A%22Babysitting+Adventures+Part+2%22%2C%22swfPath_str%22%3A%22assets%5C%2Ftransitions%5C%2Falpha1.swf%22%2C%22startAutoPlay_bool%22%3Afalse%2C%22shareVisible_bool%22%3Atrue%2C%22password_str%22%3A%22%22%2C%22musicPath_str%22%3A%22%22%2C%22maskPath_str%22%3A%22assets%5C%2Fmasks%5C%2Frectangle.swf%22%2C%22loop_bool%22%3Afalse%2C%22logoVisible_bool%22%3Atrue%2C%22depth_int%22%3A16%2C%22instanceName_str%22%3A%22transition_mc%22%2C%22hotSpotRollOver_bool%22%3Afalse%2C%22controlsVisible_bool%22%3Atrue%7D%2C%7B%22visible_bool%22%3Afalse%2C%22tip_bool%22%3Afalse%2C%22title_str%22%3A%22Babysitting+Adventures+Part+2%22%2C%22swfPath_str%22%3A%22assets%5C%2Fborders%5C%2Frectangle.swf%22%2C%22startAutoPlay_bool%22%3Afalse%2C%22shareVisible_bool%22%3Atrue%2C%22resizable_bool%22%3Afalse%2C%22password_str%22%3A%22%22%2C%22musicPath_str%22%3A%22%22%2C%22loop_bool%22%3Afalse%2C%22logoVisible_bool%22%3Atrue%2C%22depth_int%22%3A18%2C%22instanceName_str%22%3A%22border_mc%22%2C%22hotSpotRollOver_bool%22%3Afalse%2C%22controlsVisible_bool%22%3Atrue%7D%2C%7B%22y_int%22%3A18%2C%22x_int%22%3A240%2C%22tip_bool%22%3Afalse%2C%22title_str%22%3A%22Babysitting+Adventures+Part+2%22%2C%22swfPath_str%22%3A%22assets%5C%2Ffonts%5C%2Farial.swf%22%2C%22startAutoPlay_bool%22%3Afalse%2C%22shareVisible_bool%22%3Atrue%2C%22resizable_bool%22%3Afalse%2C%22password_str%22%3A%22%22%2C%22musicPath_str%22%3A%22%22%2C%22loop_bool%22%3Afalse%2C%22logoVisible_bool%22%3Atrue%2C%22depth_int%22%3A100%2C%22instanceName_str%22%3A%22title_mc%22%2C%22hotSpotRollOver_bool%22%3Afalse%2C%22fontSize_int%22%3A20%2C%22controlsVisible_bool%22%3Atrue%7D%5D%2C%22ELEMENTS%22%3A%5B%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378571_IMG_4723.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378571_IMG_4723.JPG%22%2C%22photoKey_str%22%3A%222267577fe3cbb0cd81cbb6f8eaa4982b%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260111%22%2C%22delay_int%22%3A4000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%22270%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22%5CrHey...press+the+play+button.%22%2C%22x_int%22%3A177%2C%22y_int%22%3A128%2C%22height_int%22%3A128.25%2C%22width_int%22%3A161%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22alignment_str%22%3A%22right_up%22%2C%22depth_int%22%3A2%2C%22sourceWidth_int%22%3A338%2C%22alpha_int%22%3A100%7D%5D%7D%2C%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378497_IMG_4707.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378497_IMG_4707.JPG%22%2C%22photoKey_str%22%3A%222267211bd1e3df5a716a657f5eb316c7%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260108%22%2C%22delay_int%22%3A4000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%220%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22Alright...this+is+the+story+of+Uncle+Jaisen+babysitting+me.%22%2C%22fontSize_int%22%3A8%2C%22x_int%22%3A167%2C%22y_int%22%3A26%2C%22height_int%22%3A193.25%2C%22width_int%22%3A235.7%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22alignment_str%22%3A%22left_down%22%2C%22depth_int%22%3A2%2C%22sourceWidth_int%22%3A600%2C%22alpha_int%22%3A100%7D%5D%7D%2C%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378524_IMG_4708.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378524_IMG_4708.JPG%22%2C%22photoKey_str%22%3A%2222673fa7f25b9c49a2988b7e02951313%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260109%22%2C%22delay_int%22%3A4000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%220%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22%5CrNot+now+Uncle+Jaisen...I+have+to+tell+this+story%22%2C%22x_int%22%3A200%2C%22y_int%22%3A5%2C%22height_int%22%3A151%2C%22width_int%22%3A193.7%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22alignment_str%22%3A%22left_down%22%2C%22depth_int%22%3A3%2C%22sourceWidth_int%22%3A600%2C%22alpha_int%22%3A100%2C%22fontSize_int%22%3A8%7D%5D%7D%2C%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378550_IMG_4726.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378550_IMG_4726.JPG%22%2C%22photoKey_str%22%3A%2222674c20f9ae9193718e3f42521ea0aa%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260110%22%2C%22delay_int%22%3A4000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%220%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22%5CrLet+me+get+comfortable.%22%2C%22fontSize_int%22%3A10%2C%22x_int%22%3A302%2C%22y_int%22%3A16%2C%22height_int%22%3A113%2C%22width_int%22%3A139.7%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22alignment_str%22%3A%22right_down%22%2C%22depth_int%22%3A3%2C%22sourceWidth_int%22%3A600%2C%22alpha_int%22%3A100%7D%5D%7D%2C%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378623_IMG_4727.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378623_IMG_4727.JPG%22%2C%22photoKey_str%22%3A%22226779dcf63f523febcd8fada18729e6%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260113%22%2C%22delay_int%22%3A4000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%220%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22I+love+this+thing...it%27s+like+a+tube+I+can+crawl+through%22%2C%22x_int%22%3A326%2C%22y_int%22%3A56%2C%22height_int%22%3A113%2C%22width_int%22%3A139.7%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22alignment_str%22%3A%22right%22%2C%22depth_int%22%3A2%2C%22sourceWidth_int%22%3A600%2C%22alpha_int%22%3A100%7D%5D%7D%2C%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378597_IMG_4728.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378597_IMG_4728.JPG%22%2C%22photoKey_str%22%3A%222267693768c882d3c301177dbfe4dcd4%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260112%22%2C%22delay_int%22%3A4000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%220%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22%5CrLike+this...+watch%22%2C%22x_int%22%3A286%2C%22y_int%22%3A179%2C%22height_int%22%3A113%2C%22width_int%22%3A139.7%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22alignment_str%22%3A%22right_up%22%2C%22depth_int%22%3A3%2C%22sourceWidth_int%22%3A600%2C%22alpha_int%22%3A100%2C%22fontSize_int%22%3A12%7D%5D%7D%2C%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378673_IMG_4729.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378673_IMG_4729.JPG%22%2C%22photoKey_str%22%3A%22226796036858ec82851c8fe473237bc3%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260115%22%2C%22delay_int%22%3A4000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%220%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22I%27ve+done+this+so+many+times+that+I%27m+pretty+much+a+pro%22%2C%22x_int%22%3A315%2C%22y_int%22%3A5%2C%22height_int%22%3A148.25%2C%22width_int%22%3A189.7%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22alignment_str%22%3A%22right_down%22%2C%22depth_int%22%3A3%2C%22sourceWidth_int%22%3A600%2C%22alpha_int%22%3A100%2C%22fontSize_int%22%3A8%7D%5D%7D%2C%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378156_IMG_4807.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378156_IMG_4807.JPG%22%2C%22photoKey_str%22%3A%2222658f75c87e97fb3061f6d514266780%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260094%22%2C%22delay_int%22%3A6000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%220%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22Crawling+through+that+tube+was+fun.%22%2C%22x_int%22%3A51%2C%22y_int%22%3A8%2C%22height_int%22%3A131.25%2C%22width_int%22%3A181.7%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22alignment_str%22%3A%22left_down%22%2C%22depth_int%22%3A2%2C%22sourceWidth_int%22%3A600%2C%22alpha_int%22%3A100%7D%2C%7B%22note_str%22%3A%22But+I%27ve+got+other+toys+too.++Like+daddy%27s+computer.%22%2C%22x_int%22%3A335%2C%22y_int%22%3A14%2C%22height_int%22%3A148.65%2C%22width_int%22%3A192.7%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22start_int%22%3A48.55%2C%22alignment_str%22%3A%22right_down%22%2C%22depth_int%22%3A6%2C%22sourceWidth_int%22%3A600%2C%22alpha_int%22%3A100%2C%22fontSize_int%22%3A8%7D%5D%7D%2C%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378075_IMG_4810.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378075_IMG_4810.JPG%22%2C%22photoKey_str%22%3A%22226556af69c7d2417dc590c96628ff68%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260091%22%2C%22delay_int%22%3A4000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%2290%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22Core+Duo+baby%21%21+Lots+of+RAM+too.%22%2C%22x_int%22%3A179%2C%22y_int%22%3A100%2C%22height_int%22%3A145.25%2C%22width_int%22%3A159%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22alignment_str%22%3A%22right%22%2C%22depth_int%22%3A3%2C%22sourceWidth_int%22%3A338%2C%22alpha_int%22%3A100%7D%5D%7D%2C%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378181_IMG_4811.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378181_IMG_4811.JPG%22%2C%22photoKey_str%22%3A%2222659a063d2f14568b25350471b85f71%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260095%22%2C%22delay_int%22%3A4000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%2290%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22%5CrIt+has+USB+slots+here+in+the+front.%22%2C%22x_int%22%3A137%2C%22y_int%22%3A30%2C%22height_int%22%3A134.25%2C%22width_int%22%3A173.7%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22alignment_str%22%3A%22right_down%22%2C%22depth_int%22%3A2%2C%22sourceWidth_int%22%3A338%2C%22alpha_int%22%3A100%7D%5D%7D%2C%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378258_IMG_4796.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378258_IMG_4796.JPG%22%2C%22photoKey_str%22%3A%22226629d9fc8ee15ac789c8aa2a0f6fe4%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260098%22%2C%22delay_int%22%3A4000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%220%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22%5CrWoah%21%22%2C%22fontSize_int%22%3A12%2C%22x_int%22%3A407%2C%22y_int%22%3A13%2C%22height_int%22%3A113%2C%22width_int%22%3A139.7%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22start_int%22%3A53.4%2C%22alignment_str%22%3A%22right_down%22%2C%22depth_int%22%3A5%2C%22sourceWidth_int%22%3A600%2C%22alpha_int%22%3A100%7D%2C%7B%22note_str%22%3A%22%5CrNEEEIIGHH%21%5CrNEEEIIGHH%21%22%2C%22x_int%22%3A460%2C%22y_int%22%3A301%2C%22height_int%22%3A113%2C%22width_int%22%3A139.7%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22alignment_str%22%3A%22left%22%2C%22depth_int%22%3A4%2C%22sourceWidth_int%22%3A600%2C%22alpha_int%22%3A100%7D%5D%7D%2C%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378444_IMG_4784.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378444_IMG_4784.JPG%22%2C%22photoKey_str%22%3A%2222670b31e143f25b309804df57b9d08e%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260106%22%2C%22delay_int%22%3A4000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%220%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22Someone+must+have+pressed+his+ear.%22%2C%22x_int%22%3A153%2C%22y_int%22%3A5%2C%22height_int%22%3A156.25%2C%22width_int%22%3A180.7%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22alignment_str%22%3A%22left_down%22%2C%22depth_int%22%3A2%2C%22sourceWidth_int%22%3A600%2C%22alpha_int%22%3A100%7D%5D%7D%2C%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378129_IMG_4786.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378129_IMG_4786.JPG%22%2C%22photoKey_str%22%3A%22226577ac28d3908e8f4cc0d4871477ac%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260093%22%2C%22delay_int%22%3A4000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%22270%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22%5CrGiddy+up+horsey.%22%2C%22x_int%22%3A147%2C%22y_int%22%3A124%2C%22height_int%22%3A140.25%2C%22width_int%22%3A166.7%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22alignment_str%22%3A%22right_up%22%2C%22depth_int%22%3A2%2C%22sourceWidth_int%22%3A338%2C%22alpha_int%22%3A100%7D%5D%7D%2C%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378306_IMG_4787.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378306_IMG_4787.JPG%22%2C%22photoKey_str%22%3A%2222664e2d46c39cee2b72d4b75df4a925%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260100%22%2C%22delay_int%22%3A4000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%22270%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22What%27s+up+with+this+handle%3F%22%2C%22fontSize_int%22%3A11%2C%22x_int%22%3A39%2C%22y_int%22%3A12%2C%22height_int%22%3A113%2C%22width_int%22%3A139.7%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22alignment_str%22%3A%22left%22%2C%22depth_int%22%3A2%2C%22sourceWidth_int%22%3A338%2C%22alpha_int%22%3A100%7D%5D%7D%2C%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378281_IMG_4789.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378281_IMG_4789.JPG%22%2C%22photoKey_str%22%3A%2222663a6b7b7cc7b2d828cda6c2006389%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260099%22%2C%22delay_int%22%3A4000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%220%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22Wait+a+minute...this+handle+isn%27t+supposed+to+come+off%21%3F%21%3F%22%2C%22x_int%22%3A116%2C%22y_int%22%3A108%2C%22height_int%22%3A196.25%2C%22width_int%22%3A205.7%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22alignment_str%22%3A%22left%22%2C%22depth_int%22%3A7%2C%22sourceWidth_int%22%3A600%2C%22alpha_int%22%3A100%2C%22fontSize_int%22%3A7%7D%5D%7D%2C%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378353_IMG_4792.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378353_IMG_4792.JPG%22%2C%22photoKey_str%22%3A%222266649cb37bc2908fc9559c5f68b042%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260102%22%2C%22delay_int%22%3A4000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%220%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22%5CrDon%27t+worry...+I+can+fix+it.%22%2C%22x_int%22%3A310%2C%22y_int%22%3A235%2C%22height_int%22%3A145.25%2C%22width_int%22%3A196.7%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22alignment_str%22%3A%22right_up%22%2C%22depth_int%22%3A2%2C%22sourceWidth_int%22%3A600%2C%22alpha_int%22%3A100%7D%5D%7D%2C%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378329_IMG_4794.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378329_IMG_4794.JPG%22%2C%22photoKey_str%22%3A%2222665f975fa5fc8b9e628543899c1317%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260101%22%2C%22delay_int%22%3A4000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%220%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22I+can%27t+fix+it.++Don%27t+tell+Uncle+Kyle+or+Aunt+Cathy%21%22%2C%22fontSize_int%22%3A9%2C%22x_int%22%3A305%2C%22y_int%22%3A239%2C%22height_int%22%3A170.25%2C%22width_int%22%3A206.7%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22alignment_str%22%3A%22right_up%22%2C%22depth_int%22%3A4%2C%22sourceWidth_int%22%3A600%2C%22alpha_int%22%3A100%7D%5D%7D%2C%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378230_IMG_4798.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378230_IMG_4798.JPG%22%2C%22photoKey_str%22%3A%2222661854a11db7d67fc8e6e1d3de90c9%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260097%22%2C%22delay_int%22%3A4000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%220%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22%5CrUncle+Jaisen+fixed+you+up+good.%22%2C%22x_int%22%3A245%2C%22y_int%22%3A61%2C%22height_int%22%3A140.25%2C%22width_int%22%3A175.7%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22alignment_str%22%3A%22left_down%22%2C%22depth_int%22%3A3%2C%22sourceWidth_int%22%3A600%2C%22alpha_int%22%3A100%2C%22fontSize_int%22%3A10%7D%5D%7D%2C%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378399_IMG_4755.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378399_IMG_4755.JPG%22%2C%22photoKey_str%22%3A%2222668d3b1ef3a117eea8dc1b99bb3821%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260104%22%2C%22delay_int%22%3A4000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%220%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22%5CrUncle+Jaisen+if+you+keep+ignoring+me+I%27ll+have+to+entertain+myself.%22%2C%22x_int%22%3A305%2C%22y_int%22%3A20%2C%22height_int%22%3A157.25%2C%22width_int%22%3A199.7%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22alignment_str%22%3A%22right_down%22%2C%22depth_int%22%3A3%2C%22sourceWidth_int%22%3A600%2C%22alpha_int%22%3A100%2C%22fontSize_int%22%3A7%7D%5D%7D%2C%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378048_IMG_4763.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378048_IMG_4763.JPG%22%2C%22photoKey_str%22%3A%22226549ce2d9d1f366eed94a137292499%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260090%22%2C%22delay_int%22%3A4000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%220%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22Nothing+like+a+good+book+to+keep+me+occupied.%22%2C%22x_int%22%3A39%2C%22y_int%22%3A5%2C%22height_int%22%3A135%2C%22width_int%22%3A153.7%2C%22swfPath_str%22%3A%22thought.swf%22%2C%22alignment_str%22%3A%22left_down%22%2C%22depth_int%22%3A2%2C%22sourceWidth_int%22%3A600%2C%22alpha_int%22%3A100%7D%5D%7D%2C%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378776_IMG_4746.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378776_IMG_4746.JPG%22%2C%22photoKey_str%22%3A%22226832524fd24a4cc8a61e08bed59806%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260119%22%2C%22delay_int%22%3A4000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%220%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22%5CrCan+I+get+a+little+help%3F%22%2C%22x_int%22%3A124%2C%22y_int%22%3A76%2C%22height_int%22%3A113%2C%22width_int%22%3A139.7%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22alignment_str%22%3A%22left%22%2C%22depth_int%22%3A3%2C%22sourceWidth_int%22%3A600%2C%22alpha_int%22%3A100%2C%22fontSize_int%22%3A11%7D%5D%7D%2C%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170378752_IMG_4748.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170378752_IMG_4748.JPG%22%2C%22photoKey_str%22%3A%2222682073013dded2013342128702a4b9%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260118%22%2C%22delay_int%22%3A4000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%22270%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22%5CrSomething+about+my+other+horse+is+so+much+more+realistic.%22%2C%22x_int%22%3A152%2C%22y_int%22%3A123%2C%22height_int%22%3A159.25%2C%22width_int%22%3A186%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22alignment_str%22%3A%22right_up%22%2C%22depth_int%22%3A3%2C%22sourceWidth_int%22%3A338%2C%22alpha_int%22%3A100%2C%22fontSize_int%22%3A7%7D%5D%7D%2C%7B%22photoPath_str%22%3A%22%5C%2Foriginal%5C%2F200702%5C%2F1170377969_IMG_4776.JPG%22%2C%22thumbnailPath_str%22%3A%22%5C%2Fthumbnail%5C%2F200702%5C%2F1170377969_IMG_4776.JPG%22%2C%22photoKey_str%22%3A%22226513848f32904d9e5dddcffb1c3a30%22%2C%22description_str%22%3Anull%2C%22tags_str%22%3A%22%2C2007%2Canna%2Cbabysit%2Cfebruary%2C%22%2C%22photoId_int%22%3A%2260087%22%2C%22delay_int%22%3A4000%2C%22width_int%22%3A%222592%22%2C%22height_int%22%3A%221944%22%2C%22rotation_int%22%3A%220%22%2C%22hotSpot_arr%22%3A%5B%7B%22note_str%22%3A%22%5CrBye%21++Thanks+for+listening+to+my+story.%22%2C%22x_int%22%3A186%2C%22y_int%22%3A176%2C%22height_int%22%3A160.25%2C%22width_int%22%3A187.7%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22alignment_str%22%3A%22left_up%22%2C%22depth_int%22%3A4%2C%22sourceWidth_int%22%3A600%2C%22alpha_int%22%3A100%7D%2C%7B%22note_str%22%3A%22Oh+yea...+Uncle+Jaisen+says+bye+too.%22%2C%22x_int%22%3A353%2C%22y_int%22%3A187%2C%22height_int%22%3A148.25%2C%22width_int%22%3A177.7%2C%22swfPath_str%22%3A%22quote.swf%22%2C%22start_int%22%3A57.85%2C%22alignment_str%22%3A%22right_up%22%2C%22depth_int%22%3A5%2C%22sourceWidth_int%22%3A600%2C%22alpha_int%22%3A100%7D%5D%7D%5D%7D'); print_r(jsonDecode($test));
function getErrorHtml($errorFilename, $offset = 1) { $errorMessage = readTemporaryFile($errorFilename); if ($errorMessage != "") { $errInfo = jsonDecode($errorMessage); $errhtml = "<a href='#' id='errorClick'>Show/Hide errors and warnings</a>"; $errhtml .= "<div id='errorRow' colspan='3' >"; // style='display:none' if ($errInfo == null) { $errhtml .= "Couldn't read results from the Umple compiler!"; } else { $results = $errInfo["results"]; foreach ($results as $result) { $url = $result["url"]; $line = intval($result["line"]) - $offset; $errorCode = $result["errorCode"]; $severityInt = intval($result["severity"]); if ($severityInt > 2) { $severity = "Warning"; $textcolor = "<font color=\"black\">"; } else { $severity = "Error"; $textcolor = "<font color=\"red\">"; } $msg = htmlspecialchars($result["message"]); $errhtml .= $textcolor . " {$severity} on <a href=\"javascript:Action.setCaretPosition({$line});Action.updateLineNumberDisplay();\">line {$line}</a> : {$msg}.</font> <i><a href=\"{$url}\" target=\"helppage\">More information ({$errorCode})</a></i></br>"; } } $errhtml .= "</div>"; $errhtml .= "<script type=\"text/javascript\">jQuery(\"#errorClick\").click(function(a){a.preventDefault();jQuery(\"#errorRow\").toggle();});</script>"; return $errhtml; } return ""; }
<div style="width:100px; float:left;">Privacy</div> <div style="width:100px; float:left;">Date Created</div> <br clear="all" /> </div>'; foreach ($flix as $k => $v) { $privacy = ''; if ($v['us_privacy'] & PERM_SLIDESHOW_PUBLIC == PERM_SLIDESHOW_PUBLIC) { $privacy .= 'Public '; } if ($v['us_privacy'] & PERM_SLIDESHOW_COMMENT == PERM_SLIDESHOW_COMMENT) { $privacy .= 'Comment '; } if ($privacy == '') { $privacy = 'Private'; } $settings = jsonDecode($v['us_settings']); $theme = 'Default Left-Right'; $preview = false; $altTheme = ''; $mp3 = 'No Music'; foreach ($settings as $v2) { if ($v2['instanceName_str'] == 'background_mc') { if (isset($v2['swfPath_str'])) { $theme = basename($v2['swfPath_str']); } } if ($v2['instanceName_str'] == 'backgroundGraphic_mc') { if (isset($v2['swfPath_str'])) { $altTheme = basename($v2['swfPath_str']); } }
$filterNames = array('' => translate('ChooseFilter')); foreach (dbFetchAll("select * from Filters order by Name") as $row) { $filterNames[$row['Name']] = $row['Name']; if ($row['Background']) { $filterNames[$row['Name']] .= "*"; } if (!empty($_REQUEST['reload']) && isset($_REQUEST['filterName']) && $_REQUEST['filterName'] == $row['Name']) { $dbFilter = $row; } } $backgroundStr = ""; if (isset($dbFilter)) { if ($dbFilter['Background']) { $backgroundStr = '[' . strtolower(translate('Background')) . ']'; } $_REQUEST['filter'] = jsonDecode($dbFilter['Query']); $_REQUEST['sort_field'] = isset($_REQUEST['filter']['sort_field']) ? $_REQUEST['filter']['sort_field'] : "DateTime"; $_REQUEST['sort_asc'] = isset($_REQUEST['filter']['sort_asc']) ? $_REQUEST['filter']['sort_asc'] : "1"; $_REQUEST['limit'] = isset($_REQUEST['filter']['limit']) ? $_REQUEST['filter']['limit'] : ""; unset($_REQUEST['filter']['sort_field']); unset($_REQUEST['filter']['sort_asc']); unset($_REQUEST['filter']['limit']); } $conjunctionTypes = array('and' => translate('ConjAnd'), 'or' => translate('ConjOr')); $obracketTypes = array(); $cbracketTypes = array(); if (isset($_REQUEST['filter']['terms'])) { for ($i = 0; $i <= count($_REQUEST['filter']['terms']) - 2; $i++) { $obracketTypes[$i] = str_repeat("(", $i); $cbracketTypes[$i] = str_repeat(")", $i); }
/** * 百度上传控制 */ function ueditor() { //验证用户登录状态 $this->load->library('User', null, 'userLib'); $this->user = $this->userLib->getUserInfo(); if (!$this->user) { $result = jsonEncode(array('state' => $this->userLib->error)); } else { $CONFIG = jsonDecode(preg_replace("/\\/\\*[\\s\\S]+?\\*\\//", "", file_get_contents(FCPATH . "/../public/ueditor/php/config.json")), true); $action = $_GET['action']; switch ($action) { case 'config': $result = jsonEncode($CONFIG); break; /* 上传图片 */ /* 上传图片 */ case 'uploadimage': /* 上传涂鸦 */ /* 上传涂鸦 */ case 'uploadscrawl': /* 上传视频 */ /* 上传视频 */ case 'uploadvideo': /* 上传文件 */ /* 上传文件 */ case 'uploadfile': $uploadInfo = (include FCPATH . "/../public/ueditor/php/action_upload.php"); $resultArr = jsonDecode($uploadInfo); $this->load->model('fileModel'); $fileData = array('dir' => str_replace('upload', '', $action), 'fileName' => $resultArr['title'], 'fileType' => $resultArr['type'], 'fileSize' => $resultArr['size'], 'origName' => $resultArr['original'], 'viewPath' => $resultArr['url'], 'fullPath' => $resultArr['filePath'], 'userId' => (int) $this->user['userId'], 'createTime' => time()); $fileId = $this->fileModel->add($fileData); $resultArr['fileId'] = $fileId; $result = jsonEncode($resultArr); break; /* 列出图片 */ /* 列出图片 */ case 'listimage': // $result = include(FCPATH . "/../public/ueditor/php/action_list.php"); $this->load->model('fileModel'); $fileList = $this->fileModel->getList(array('userId' => (int) $this->user['userId'], 'dir' => 'image')); $result = array('state' => 'SUCCESS', 'start' => 0, 'total' => count($fileList), 'list' => array()); foreach ($fileList as $v) { $result['list'][] = array('fileId' => (int) $v['id'], 'url' => $v['viewPath'], 'mtime' => (int) $v['createTime']); } $result = jsonEncode($result); break; /* 列出文件 */ /* 列出文件 */ case 'listfile': // $result = include(FCPATH . "/../public/ueditor/php/action_list.php"); $this->load->model('fileModel'); $fileList = $this->fileModel->getList(array('userId' => (int) $this->user['userId'], 'dir' => 'file')); $result = array('state' => 'SUCCESS', 'start' => 0, 'total' => count($fileList), 'list' => array()); foreach ($fileList as $v) { $result['list'][] = array('fileId' => (int) $v['id'], 'url' => $v['viewPath'], 'mtime' => (int) $v['createTime']); } $result = jsonEncode($result); break; /* 抓取远程文件 */ /* 抓取远程文件 */ case 'catchimage': $uploadInfo = (include FCPATH . "/../public/ueditor/php/action_crawler.php"); $resultArr = jsonDecode($uploadInfo); $this->load->model('fileModel'); $fileData = array('dir' => str_replace('upload', '', $action), 'fileName' => $resultArr['title'], 'fileType' => $resultArr['type'], 'fileSize' => $resultArr['size'], 'origName' => $resultArr['original'], 'viewPath' => $resultArr['url'], 'fullPath' => $resultArr['filePath'], 'userId' => (int) $this->user['userId'], 'createTime' => time()); $fileId = $this->fileModel->add($fileData); $resultArr['fileId'] = $fileId; $result = jsonEncode($resultArr); break; default: $result = jsonEncode(array('state' => '请求地址出错')); break; } } /* 输出结果 */ if (isset($_GET["callback"])) { if (preg_match("/^[\\w_]+\$/", $_GET["callback"])) { echo htmlspecialchars($_GET["callback"]) . '(' . $result . ')'; } else { echo jsonEncode(array('state' => 'callback参数不合法')); } } else { echo $result; } }
$fields = jsonDecode($_POST["fields"]); $cursor = $mongocollection->find($query, $fields); } else { $cursor = $mongocollection->find($query); } if (!isset($cursor)) { error("Could not execute query", $mongodb->lastError()); } if (isset($_POST["limit"])) { $cursor->limit($_POST["limit"] * 1); } if (isset($_POST["skip"])) { $cursor->skip($_POST["skip"] * 1); } if (isset($_POST["sort"])) { $val = jsonDecode($_POST["sort"]); $cursor->sort($val); } if ($subcommand == "explain") { $result = $cursor->explain(); } else { if ($subcommand == "validate") { if ($cursor->hasNext()) { $cursor->getNext(); } $result = $cursor->valid(); } else { if ($subcommand == "count") { $result = $cursor->count(); } else { $result = $cursor;
function isDataTypeNumeric($type) { global $MYSQL_DATA_TYPE; if (@is_file(PATH_MYSQL_DATA_TYPE) && count($MYSQL_DATA_TYPE) <= 0) { $json = jsonDecode(@file_get_contents(PATH_MYSQL_DATA_TYPE), true); if ($json != null && count($json) > 0) { $MYSQL_DATA_TYPE = $json; } } if ($MYSQL_DATA_TYPE != null && is_array($MYSQL_DATA_TYPE)) { return in_array(strtoupper($type), $MYSQL_DATA_TYPE['data']['Numeric']); } else { return false; } }
/** * 发送数据 */ function sendData($dataType = 'sum') { $accessToken = $this->getAccessToken(); $urlParams = array('mainCmd' => $this->mainCmdList[$dataType], 'accessToken' => $accessToken); $url = $this->apiUrl . $this->apiExtList[$dataType] . '?' . httpBuildQuery($urlParams); $data = array('params' => $this->data); $returnData = $this->httpGet($url, jsonEncode($data), array('Content-Type: application/json')); $jsonData = jsonDecode($returnData); //var_dump($jsonData); //exit(); //提交成功 if (isset($jsonData['authcHead']) && $jsonData['authcHead']['retnCode'] == 0) { return true; } else { return false; } }
$proUsersYearlyCount = $proUsersYearly['CNT']; $proUsersCount = $proUsersMonthlyCount + $proUsersYearlyCount; $personalUsersMonthlyCount = $personalUsersMonthly['CNT']; $personalUsersYearlyCount = $personalUsersYearly['CNT']; $personalUsersCount = $personalUsersMonthlyCount + $personalUsersYearlyCount; $conversions = $proUsersCount + $personalUsersCount; $personalConversionRate = 0; $proConversionRate = 0; $totalConversionRate = 0; $slideshowsCount = count($slideshows); // loop through every slideshow // loop through each of its elements if they exist // if it contains a hotspot, add to the hotspot total and go to the next slideshow (break out of the elements for loop) $hotspots = 0; foreach ($slideshows as $vSlideshow) { $elementsArr = jsonDecode($vSlideshow['us_elements']); if (is_array($elementsArr)) { foreach ($elementsArr as $v2) { if (is_array($v2)) { // if hotspots exist if (array_key_exists('hotSpot_arr', $v2)) { // this slideshow has a hotspot $hotspots++; break; } } } } } // graph stuff $graphArray['personal'][$k] = $regPersonalCount;
function firstPhoto($identifier = false) { if (strlen($identifier) == 32) { $sql = 'SELECT us_elements AS US_ELEMENTS ' . 'FROM user_slideshows ' . 'WHERE us_key = ' . $this->dbh->sql_safe($identifier) . ' '; $data = $this->dbh->query_first($sql); } else { $data['US_ELEMENTS'] = $identifier; } $elements = jsonDecode($data['US_ELEMENTS']); // loop through the elements array // if $v['thumbnailPath_str'] is not blank // then return that element if (is_array($elements)) { foreach ($elements as $k => $v) { if (isset($v['photoId_int'])) { return $v; } } } return false; }
// Get all the slideshow elements from old $sql = 'SELECT ufd.ufd_up_id AS UFD_UP_ID, ufd.ufd_delay AS UFD_DELAY, ufd.ufd_isTitle AS UFD_IS_TITLE, ufd.ufd_name AS UFD_NAME, ufd.ufd_description AS UFD_DESC ' . 'FROM ' . $oldDB . '.user_fotoflix_data AS ufd ' . 'WHERE ufd.ufd_uf_id = ' . $v['UF_ID'] . ' ' . 'ORDER BY ufd.ufd_order '; $elements_rs = $GLOBALS['dbh']->query_all($sql); // Create the new elements $elements = array(); $photoPath_str = ''; $photoKey_str = ''; $photoId_int = 0; $thumbnailPath_str = ''; $description_str = ''; $delay_int = 0; $tags_str = ''; $width_int = 0; $height_int = 0; $rotation_int = 0; $themeAr = jsonDecode($themes[$v['UF_TEMPLATE']]); if ($v['UF_CREATED_BY'] !== null) { echo 'Created By Title Frame<br />'; // set title frame $delay_int = 3000; foreach ($themeAr as $v3) { if ($v3['instanceName_str'] == 'title_mc') { $swfPath_str = $v3['swfPath_str']; break; } } $title_str = "Created by\n" . xmlUnSafe($v['UF_CREATED_BY']); $mainColor_str = $settings[0]['highlightColor_str']; $backgroundColor_str = $settings[0]['backgroundColor_str']; $elements[] = array('delay_int' => $delay_int, 'swfPath_str' => $swfPath_str, 'title_str' => $title_str, 'mainColor_str' => $mainColor_str, 'backgroundColor_str' => $backgroundColor_str); }
<div style="float:left; width:20px; text-align:right;">' . $place . '. </div> <div style="float:left; padding-left:5px;">' . basename($v) . '</div> <br clear="all" /> </div>'; $place++; } echo ' </div> <br clear="all" /> </div>'; // slideshows $sql = 'SELECT * ' . 'FROM user_slideshows AS us ' . 'WHERE us_status = \'active\' '; $slideshows = $GLOBALS['dbh']->query_all($sql); // get all the settings arrays for all the slideshows $settingsArr = array(); foreach ($slideshows as $k => $v) { $settingsArr[] = jsonDecode($v['us_settings']); } // go through each slideshows settings to get the themes $themesArr = array(); foreach ($settingsArr as $thisSettings) { $currentTheme = 'Default Left-Right'; $preview = false; $altTheme = ''; foreach ($thisSettings as $v) { if ($v['instanceName_str'] == 'background_mc') { if (isset($v['swfPath_str'])) { $currentTheme = $v['swfPath_str']; } } if ($v['instanceName_str'] == 'backgroundGraphic_mc') { if (isset($v['swfPath_str'])) {
<?php $fl =& CFlix::getInstance(); $key = isset($_GET['key']) ? $_GET['key'] : false; $slide = isset($_GET['slide']) ? $_GET['slide'] : 0; $slideshowData = $fl->search(array('KEY' => $key)); $elementsArr = jsonDecode($slideshowData['US_ELEMENTS']); // if we have a correct slide number if (count($elementsArr) > 0 && $slide < count($elementsArr)) { // if it's a photo/title/unknown if (array_key_exists('photoPath_str', $elementsArr[$slide])) { $img = dynamicImageLock($elementsArr[$slide]['thumbnailPath_str'], $elementsArr[$slide]['photoKey_str'], $elementsArr[$slide]['rotation_int'], $elementsArr[$slide]['width_int'], $elementsArr[$slide]['height_int'], 500, 375); echo '<div id="_currentSlide" style="float:left; padding-right:10px;"><img src="' . $img[0] . '" border="0" width="' . $img[1] . '" height="' . $img[2] . '" /></div>'; $html = ''; // if hotspots exist if (array_key_exists('hotSpot_arr', $elementsArr[$slide])) { $html .= '<div style="padding-top:10px;">Hotspots on this photo:</div>'; foreach ($elementsArr[$slide]['hotSpot_arr'] as $k => $v) { switch ($v['swfPath_str']) { case 'quote.swf': $html .= '<div><img src="images/html_slideshow/chat.png" class="png" border="0" width="16" height="16" style="margin:5px 5px 0px 10px;" />"' . $v['note_str'] . '"</div>'; break; case 'eye_blood_shot.swf': $html .= '<div><img src="images/html_slideshow/bloodshot_eye.png" class="png" border="0" width="16" height="16" style="margin:5px 5px 0px 10px;" />Bloodshot eye</div>'; break; case 'eye.swf': $html .= '<div><img src="images/html_slideshow/eye.png" class="png" border="0" width="16" height="16" style="margin:5px 5px 0px 10px;" />Eye</div>'; break; case 'hair1.swf': $html .= '<div><img src="images/html_slideshow/fro.png" class="png" border="0" width="16" height="16" style="margin:5px 5px 0px 10px;" />Fro hair</div>'; break;
function prune($ids = false, $user_id = false) { if (is_array($ids)) { $sql = 'SELECT us_id AS US_ID, us_elements AS US_ELEMENTS ' . 'FROM user_slideshows ' . 'WHERE us_u_id = ' . intval($user_id) . ' '; $data = $this->dbh->query_all($sql); //loop through each slideshow foreach ($data as $k => $v) { $update = false; $elements = jsonDecode($v['US_ELEMENTS']); // loop through the elements array // if $v['photoId_int'] is in the ids array // then unset that element if (is_array($elements)) { foreach ($elements as $k_element => $v_element) { if (in_array($v_element['photoId_int'], $ids)) { // delete this element from the data array unset($elements[$k_element]); $update = true; } } } if ($update === true) { //rewrite this slideshow $elements = jsonEncode($elements); $sql = 'UPDATE user_slideshows ' . 'SET us_elements = ' . $this->dbh->sql_safe($elements) . ' ' . 'WHERE us_id = ' . intval($v['US_ID']) . ' '; $this->dbh->execute($sql); } } } else { $sql = 'SELECT us_elements AS US_ELEMENTS ' . 'FROM user_slideshows ' . 'WHERE us_d_id = ' . intval($user_id) . ' '; $data = $this->dbh->query_all($sql); //loop through each slideshow foreach ($data as $k => $v) { $update = false; $elements = jsonDecode($v['US_ELEMENTS']); // loop through the elements array // if $v['photoId_int'] is in the ids array // then unset that element if (is_array($elements)) { foreach ($elements as $k_element => $v_element) { if ($v_element['photoId_int'] == $id) { unset($elements[$k_element]); $update = true; } } } if ($update === true) { //rewrite this slideshow $elements = jsonEncode($elements); $sql = 'UPDATE user_slideshows ' . 'SET us_elements = ' . $this->dbh->sql_safe($elements) . ' ' . 'WHERE us_id = ' . intval($v['US_ID']) . ' '; $this->dbh->execute($sql); } } } }
$times = array(); $count = 1; $version = '0.0.1'; $isCreator = true; $isModifier = false; if (DEVELOPMENT) { $handler = @scandir(REALPATH); foreach ($handler as $entry) { if ($entry != '.' && $entry != '..' && $entry != basename(PATH_CONFIG) && $entry != basename(PATH_DATABASE) && $entry != basename(DEVELOPMENT_FILE) && $entry != basename(DEVELOPMENT_INC) && $entry != basename(VERSION_INC) && is_file(REALPATH . '/' . $entry)) { $files[] = $entry; $times[] = filemtime(REALPATH . '/' . $entry); } } unset($handler); if (is_file(REALPATH . '/' . DEVELOPMENT_FILE)) { $json = jsonDecode(file_get_contents(DEVELOPMENT_FILE), true); if ($json !== null) { $entryFiles = $json['files']; $entryTimes = $json['times']; $count = intval($json['count']); $version = $json['version']; $isCreator = false; if (count($files) != count($entryFiles) || count($times) != count($entryTimes)) { $isModifier = true; } else { for ($i = 0; $i < count($entryFiles); ++$i) { $file = $entryFiles[$i]; $time = intval($entryTimes[$i]); if (!in_array($file, $files) || intval($times[array_search($file, $files)]) > intval($time)) { $isModifier = true; break;
function destroy() { $ci =& get_instance(); $ci->load->model('pay_param/p_stamp'); $table = $ci->p_stamp; $data = array('items' => array(), 'success' => false, 'message' => ''); $jsonItems = getVarClean('items', 'str', ''); $items = jsonDecode($jsonItems); try { $table->db->trans_begin(); //Begin Trans $total = 0; if (is_array($items)) { foreach ($items as $key => $value) { if (empty($value)) { throw new Exception('Empty parameter'); } $table->remove($value); $data['items'][] = array($table->pkey => $value); $total++; } } else { $items = (int) $items; if (empty($items)) { throw new Exception('Empty parameter'); } $table->remove($items); $data['items'][] = array($table->pkey => $items); $data['total'] = $total = 1; } $data['success'] = true; $data['message'] = $total . ' Data deleted successfully'; $table->db->trans_commit(); //Commit Trans } catch (Exception $e) { $table->db->trans_rollback(); //Rollback Trans $data['message'] = $e->getMessage(); $data['items'] = array(); $data['total'] = 0; } return $data; }
echo '<div style="padding-top:15px;"> <div style="float:left; width:200px;" class="f_8 bold">' . $k . '</div> <div style="float:left; width:50px;" class="f_8 center">' . $v . '</div> <br clear="all" /> </div>'; echo '</div>'; } echo '</div>'; echo ' </div>'; // slideshows $sql = 'SELECT * ' . 'FROM user_slideshows AS us ' . 'WHERE us_status = \'active\' '; $slideshows = $GLOBALS['dbh']->query_all($sql); // get all the elements arrays for all the slideshows $elementsArr = array(); foreach ($slideshows as $k => $v) { $elementsArr[] = jsonDecode($v['us_elements']); } // go through each slideshows elements to get the hotspots $hotspotsArr = array(); if (is_array($elementsArr)) { foreach ($elementsArr as $thisElement) { $currentHotspot = false; if (is_array($thisElement)) { foreach ($thisElement as $v) { if (is_array($v)) { // if a hotspot exists if (array_key_exists('hotSpot_arr', $v)) { foreach ($v['hotSpot_arr'] as $k2 => $v2) { $currentHotspot = isset($v2['swfPath_str']) ? $v2['swfPath_str'] : false; /* if the element already exists then