"; foreach ($__arr[0] as $key => $value) { if(strpos($value,'R18') === false) $__content.="![".$__arr[1][$key]."](https://api.yimian.xyz/img/?path=koino/".$value.") "; } $__update = $__db->update('table.contents')->rows(array('text'=>$__content))->where('cid=?',1); $__db->query($__update); // moe $__arr = getImgsInfo('moe'); $__content=""; foreach ($__arr[0] as $key => $value) { $__content.="![".$__arr[1][$key]."](https://api.yimian.xyz/img/?path=moe/".$value.") "; } $__update = $__db->update('table.contents')->rows(array('text'=>$__content))->where('cid=?',2); $__db->query($__update); // wallpaper $__arr = getImgsInfo('wallpaper'); $__content=""; foreach ($__arr[0] as $key => $value) { $__content.="![".$__arr[1][$key]."](https://api.yimian.xyz/img/?path=wallpaper/".$value.") "; } $__update = $__db->update('table.contents')->rows(array('text'=>$__content))->where('cid=?',3); $__db->query($__update); // imgbed $__arr = getImgsInfo('imgbed'); $__content=""; foreach ($__arr[0] as $key => $value) { $__content.="![".$__arr[1][$key]."](https://api.yimian.xyz/img/?path=imgbed/".$value.") "; } $__update = $__db->update('table.contents')->rows(array('text'=>$__content))->where('cid=?',4); $__db->query($__update); $__myfile = fopen("/tmp/img_yimian_is_update", "w") or die("Unable to open file!"); fwrite($__myfile, date('Y-m-d-H')); fclose($__myfile); } if (!defined('__TYPECHO_ROOT_DIR__')) exit; $this->need('header.php'); ?>
need('index.list.php'); ?>
pageNav('«', '»'); ?>
need('sidebar.php'); ?> need('footer.php'); ?>