require_once MESSAGE_PATH 'zh/zh_calendar_messagephp';
require_once "function_common/user_functionphp";
require_once "function_common/public_functionphp";
global $DB;
$sql_time = microtime ( true );
//$uid = $self_userid;
//保存
$json_result ['status'] = 0;
$path = 'upfile';
$json_result ['status'] = 0;
$json_result ['successmsg'] = '上传失败';
if (isset ( $_FILES ['imageZip'] )) {
$upfile = 'upfile/' $_FILES ['imageZip'] ['name'];
if (! @file_exists ( $path )) {
@mkdir ( $path );
}
$result = @move_uploaded_file ( $_FILES ['imageZip'] ['tmp_name'], $upfile );
if (! $result) {
$json_result ['status'] = 0;
$json_result ['successmsg'] = '上传失败';
$json_result ['datas'] = array ('savePath' => $upfile );
exit ( json_encode ( $json_result ) );
}
}
$json_result ['status'] = 1;
$json_result ['datas'] = array ('savePath' => $upfile );JavaScript Document
function show(str)
{
var str1="td"+str;
var str="show"+str;
for (var i=1; i<18; i++)
{
var obj = documentgetElementById('show' + itoString());
if (obj) objstyledisplay = 'none';
}
documentgetElementById(str)styledisplay="block";
}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)