font-size:14px; } </style> </head> <body> <div> <br /><br /> <!-- upload excel file --> <div> <form action="code.php" method="post" id="frmUploadFile" enctype="multipart/form-data" target="_code"> <label for="modelSelect"><b>(1)选择您要用的模版 :</b></label> <select id="modelSelect" name="modelSelect"> <?php //动态获取所有的模版文件 $arrModelDir = fun::getModelDirArr(); foreach ($arrModelDir as $val) { $val = iconv("gb2312", "UTF-8", $val); echo "<option id='{$val}' value='{$val}'>{$val}</option>"; } ?> </select> <br /> <br /> <input type="hidden" name="MAX_FILE_SIZE" value="5000000"/> <label for="excelFile"><b>(2)上传您的excel文件:</b></label> <input id="excelFile" type="file" name="excelFile" /> <a href="./excels/model.xlsx">示例excel模版下载</a> <span><font color="red">!Hello!</font> 新增:1.自定义轮播海报图功能(SUK-uk-AUG,SUK-uk模版可以试用) 2.添加视频链接功能(暂无模版可以试用) 请下载新excel模版来试用,谢谢大家!2015-10-08 </span><br /><br /> <label for="sub"><b>(3)点 击 此 按 钮 :</b></label> <!--<input id="sub" type="submit" name="sub" value="提交/刷新/预览" onclick="submitAct();f5()"/>--><!--为兼容IE9使用button替代input--> <button id="sub" name="sub" onclick="submitAct();f5()" >提交/刷新/预览</button> <span style="font-size:12px; color:gray">Tips:若刷新不出来,或预览不出来,可以再次点击此按钮</span>