Esempio n. 1
0
}
$conf = new FileConf($file_id);
// Excelファイル読み込み処理
if ($tgt_file) {
    list($xls, $errmsg) = excel_peruser_factory($charset, $tgt_file);
}
put_config($file_id, $_REQUEST, $group_id, $sheet_id, $xls, $conf);
$field_index = get_config($file_id, $conf);
$marker_window = new MarkerWindowWebUI($conf->get("block_width"), $conf->get("block_height"), $conf->get("block_offsetx"), $conf->get("block_offsety"), $conf->get("block_size"), $_REQUEST['scale']);
$sheet_marker = new SheetCellFitMarker($xls, $marker_window);
put_rails($file_id, $sheet_marker, $rails_env, $conf);
//
// HTMLファイル作成処理
//
if ($xls) {
    $html = put_header();
    $html .= put_css($xls);
    $html .= put_excel($xls, $marker_window, $sheet_marker, $field_index, $conf, $debug_mode);
    $html .= put_footer();
    file_put_contents(DST_DIR . $file_id . ".html", $html);
    $msg .= "put_excel\n";
}
// XXX: debugging purpose
/*
file_put_contents("/tmp/faxocr.log",
  "----------------------------------------\n" .
  date("Y/m/d H:i:s") . "\n(" .
  count($_REQUEST) . ")\n" .
  $msg . "\n\n",
  FILE_APPEND | LOCK_EX
);
Esempio n. 2
0
?>
; 
			var authed = <?php 
echo $auth['authed'] ? 'true' : 'false';
?>
; 
		</script>
		<script type='text/javascript' src='js/add.js'></script>
		<link rel='stylesheet' type='text/css' href='css/main.css' />
		<link rel='stylesheet' type='text/css' href='../../common/css/basic.css' />
	</head>
	<body>
	<div id='body_in'>

		<?php 
put_header();
?>

		<div id='middle'>

			<div id='left'></div>

			<div id='centercol'>
				<div id='page_container'>
				<div id='page'>


				</div>
				<script type='text/javascript'>
					get_recent_post_listing(place_full_listing);
				</script>