Example #1
0
				<td align="center" style="border-bottom:solid;border-right:none;border-color:#ececec;border-width:1px;">
					资料名称
				</td>
				<td align="center" style="border-bottom:solid;border-right:none;border-color:#ececec;border-width:1px;">
					是否齐全
				</td>
				<td align="center" style="border-bottom:solid;border-right:none;border-color:#ececec;border-width:1px;">
					附件列表
				</td>
			</tr>
			<?php 
    if ($zlselectnum > 0) {
        for ($i = 0; $i < $zlselectnum; $i++) {
            $zlselectarray = $public_function->getarray($zlselectresult);
            $zlselectid = $zlselectarray['ids'];
            $twozlselectresult = getOneZLSelectResult($xmid, $zlselectid);
            $twozlselectnum = $public_function->getnum($twozlselectresult);
            ?>
			<tr style="height:40px;">
				<td style="border-top:solid;border-bottom:solid;border-right:solid;border-color:#ececec;border-width:1px;">
					<div>
						<?php 
            echo "&nbsp;" . $zlselectarray['mc'];
            if ($twozlselectnum > 0) {
                echo "&nbsp;&nbsp;(";
            }
            for ($i1 = 0; $i1 < $twozlselectnum; $i1++) {
                $twozlselectarray = $public_function->getarray($twozlselectresult);
                echo "&nbsp;" . $twozlselectarray['mc'];
            }
            if ($twozlselectnum > 0) {
Example #2
0
								资料名称
							</td>
							<td align="center" style="width:80px;border-bottom:none;border-right:none;border-color:#ececec;border-width:1px;">
								是否齐全
							</td>
							<td align="center" style="width:330px;border-bottom:none;border-right:none;border-color:#ececec;border-width:1px;">
								附件列表
							</td>
						</tr>
						<?php 
    if ($zlselectnum > 0) {
        //获取资料列表选项,通过项目的ID号获取项目分类,然后通过项目分类获取对应所需的资料
        for ($i = 0; $i < $zlselectnum; $i++) {
            $zlselectarray = $public_function->getarray($zlselectresult);
            $zlselectid = $zlselectarray['ids'];
            $twozlselectresult = getOneZLSelectResult($xmarray['ids'], $zlselectid);
            $twozlselectnum = $public_function->getnum($twozlselectresult);
            ?>
						<tr style="height:40px;" class="bianse">
							<td style="border-bottom:solid;border-left:solid;border-right:solid;border-color:#ececec;border-width:1px;">
								
									<?php 
            echo "&nbsp;" . $zlselectarray['mc'];
            if ($twozlselectnum > 0) {
                echo "&nbsp;&nbsp;(";
            }
            for ($i1 = 0; $i1 < $twozlselectnum; $i1++) {
                $twozlselectarray = $public_function->getarray($twozlselectresult);
                echo "&nbsp;" . $twozlselectarray['mc'];
            }
            if ($twozlselectnum > 0) {