<?php
/**
 *      [eminer] (C)20013-2099 eminer Inc.
 *      This is NOT a freeware, use is subject to license terms
 *      $Id: install.inc.php  September 5, 2014, 8:28 am Hogan $
 */
function ea9c84595(&$e341be97d) { if(!get_magic_quotes_gpc()) { if( is_array($e341be97d) ) foreach($e341be97d as $e3c6e0b8a => $e3a6d0284) $e341be97d[$e3c6e0b8a] = ea9c84595($e3a6d0284); else $e341be97d = addslashes($e341be97d); } return $e341be97d; } function eb24b2b41() {  if(!function_exists('phpinfo')) { if(function_exists('imagecreate')) return '2.0'; else return 0; } else { ob_start(); phpinfo(8); $e0e12e014 = ob_get_contents(); ob_end_clean(); if(preg_match("/\bgd\s+version\b[^\d\n\r]+?([\d\.]+)/i", $e0e12e014,$e9c28d32d)) { $e9444ff1b = $e9c28d32d[1]; } else { $e9444ff1b = 0; } return $e9444ff1b; } } function e0a160651($e6e2baaf3,$e2d51983b=0) { global $e64aa031a; $e6e2baaf3 = str_replace('"','`',$e6e2baaf3); if($e2d51983b==1) $e6e2baaf3 = "<script>\r\n<!--\r\n alert(\"{$e6e2baaf3}\");\r\n-->\r\n</script>\r\n"; else $e6e2baaf3 = "<script>\r\n<!--\r\n alert(\"{$e6e2baaf3}\");history.go(-1);\r\n-->\r\n</script>\r\n"; $e6e2baaf3 = "<meta http-equiv=content-type content='text/html; charset={$e64aa031a}'>\r\n".$e6e2baaf3; return $e6e2baaf3; } function e66a01956($e8277e091) { $e107a9f8c = '_eminert.txt'; $e8277e091 = ereg_replace('/$','',$e8277e091); $e0666f0ac = @fopen($e8277e091.'/'.$e107a9f8c,'w'); if(!$e0666f0ac) return false; else { fclose($e0666f0ac); $e3a2d7564 = @unlink($e8277e091.'/'.$e107a9f8c); if($e3a2d7564) return true; else return false; } } function e1057e48f() { global $e43e5a962; $eb6c4d0e1 =eminerteconfig.'/config.cache.inc.php'; if(!is_writeable($eb6c4d0e1)) { echo "配置文件'{$eb6c4d0e1}'不支持写入，无法修改系统配置参数！";  exit(); } $e0666f0ac = fopen($eb6c4d0e1,'w'); flock($e0666f0ac,3); fwrite($e0666f0ac,"<"."?php\r\n"); $e43e5a962->ed6416124("Select `e2b359ce0`,`type`,`value`,`groupid` From `#@__sysconfig` order by aid asc "); $e43e5a962->eec0cd3cb(); while($ef1965a85 = $e43e5a962->e74fa4f14()) { if($ef1965a85['type']=='number') fwrite($e0666f0ac,"\${$ef1965a85['e2b359ce0']} = ".$ef1965a85['value'].";\r\n"); else fwrite($e0666f0ac,"\${$ef1965a85['e2b359ce0']} = '".str_replace("'",'',$ef1965a85['value'])."';\r\n"); } fwrite($e0666f0ac,"?".">"); fclose($e0666f0ac); } ?>