echo $list[ProjectName]; ?> </td> <td align="center"> <?php echo $list[FromIP]; ?> </td> <td align="center"> <?php echo $list[Amount]; ?> </td> <td align="center" title="<?php echo $list[Description]; ?> "> <?php echo _cutstr($list[Description], 20); ?> </td> <td align="center" ><a href="<?php echo UrlRewriteSimple($MyModule, 'Info', true); ?> &OrderID=<?php echo $list[OrderID]; ?> &Page=<?php echo $Data['Page']; ?> ">详情</a></td> </tr> <?php
echo $list[time]; ?> </td> <td style="text-align:center;"> <?php echo $list[AgentUserName]; ?> </td> <td style="text-align:center;"> <?php echo $list[CustomersName]; ?> </td> <td align="center"> <span title='<?php echo $list[Remark]; ?> '><?php echo _cutstr($list[Remark], 20); ?> </span></td> <td align="center"> <?php echo $list[OrderNO]; ?> </td> </tr> <?php } } ?> </tbody> </table> </div>
if ($i > 0 && $i % $cols == 0) { echo '</tr><tr>'; } echo '<td>'; $image = $rss[$i]['media:thumbnail']['url'] == '' ? $rss[$i]['enclosure']['url'] : $rss[$i]['media:thumbnail']['url']; if ($rssimage && $image != '') { if (!preg_match('/^http(s)?:\\/\\/.*$/', $image)) { $urls = parse_url($url); $image = "{$urls['scheme']}://{$urls['host']}{$image}"; } echo '<a href="' . $rss[$i]['link']['data'] . '" target="_blank" class="thumbnail"><img src="' . $image . '" alt="" class="nozoom"></a>'; echo '<a href="' . $rss[$i]['link']['data'] . '" target="_blank" class="topic">' . $rss[$i]['title']['data'] . '</a>'; } else { echo '<a class="icon-rss topic" href="' . $rss[$i]['link']['data'] . '" target="_blank">' . $rss[$i]['title']['data'] . '</a>'; } echo '<span>' . _cutstr($rss[$i]['description']['data'], 0, $detaillen) . '</span>'; echo '</td>'; $listcount--; } echo '</tr></table>'; } function getXMLHeader($xml) { $headers = explode('<' . '?xml', $xml); $ret = ''; for ($i = 0; $i < sizeof($headers); $i++) { $ret .= parseXMLHeader(trim($headers[$i])); } return $ret; } function parseXMLHeader($data)