?>
</th>
														<th><?php 
echo $tinputtm;
?>
</th>
														<th><?php 
echo $toperation;
?>
</th>
													</tr>
												</thead>
												<tbody>
													<?php 
foreach ($arrayList as $row) {
    echo "<tr><td><input type='checkbox' name='tyChecks' value='" . $row["rep_id"] . "'/></td><td>" . $row["title"] . "</td><td>" . $row["usr_name"] . "</td><td>" . GBsubstr($row["rep_ctx"], 0, 41) . "</td><td>" . btime($row["input_tm"]) . "</td><td><a onclick=del(" . $row["rep_id"] . ")><i class='fa fa-fw fa-trash-o'></i></a>&nbsp;&nbsp;<a onclick=edit('" . $row["rep_id"] . "')><i class='fa fa-fw fa-eye'></i></a></td></tr>";
}
?>
												</tbody>
											</table>
											<?php 
$pager->getHtml();
?>
										</div>
									</form>

								</div>
							</div>
							<!-- /.row -->

						</div>
Ejemplo n.º 2
0
/**
 * 清除所有HTML
 */
function ld_clearhtml($str, $len)
{
    $str = eregi_replace("<\\/*[^<>]*>", '', $str);
    $str = str_replace(" ", '', $str);
    $str = str_replace("::", ':', $str);
    $str = str_replace(" ", '', $str);
    $str = str_replace("#p#", '', $str);
    $str = str_replace(" ", '', $str);
    $str = str_replace(" ", '', $str);
    $str = str_replace("&nbsp;", '', $str);
    $str = str_replace("&ldquo;", '"', $str);
    $str = str_replace("&rdquo;", '"', $str);
    $str = str_replace("&mdash;", '-', $str);
    $str = ereg_replace("\t", "", $str);
    $str = ereg_replace("\r\n", "", $str);
    $str = ereg_replace("\r", "", $str);
    $str = ereg_replace("\n", "", $str);
    $str = ereg_replace(" ", " ", $str);
    $str = ereg_replace("&hellip;", "", $str);
    $str = GBsubstr($str, 0, $len);
    return $str;
}