</div> </div> <div class="suof"> <a href="#"></a> </div> </div> </aside> </div> <div class="conbanbox"> <?php $pterm = sp_get_term($parent); $pd = $pterm['description']; ?> <div class="conban"> <?php if (ishttp($pd)) { ?> <div class="item item_1" style="background-image:url(<?php echo $pd; ?> );data:#2b74ba;"></div> <?php } else { ?> <div class="item item_1" style="background-image:url(/tpl/hualibootx/Public/images/page-general.png);data:#2b74ba;"></div><?php } ?> </div> <?php $breadnav = getParents($navList, $nid); $breadnav = array_slice($breadnav, 0, -1);
?> </ul> </div> </div> </div> <div class="suof"> <a href="#"></a> </div> </div> </aside> </div> <div class="conbanbox"> <div class="conban"> <?php if (ishttp($description)) { ?> <div class="item item_1" style="background-image:url(<?php echo $description; ?> );data:#2b74ba;"></div> <?php } else { ?> <div class="item item_1" style="background-image:url(/tpl/hualibootx/Public/images/page-general.png);data:#2b74ba;"></div><?php } ?> </div> <?php $breadnav = getParents($navList, $nid); $breadnav = array_slice($breadnav, 0, -1);
<td width="18%"><?php echo $vo["l_name"]; ?> </td> <td width="15%" style="padding:2px;"><img src="__PUBLIC__/Uploads/links/s_<?php echo $vo["l_logo"]; ?> "/></td> <td width="16%"><a href="<?php echo ishttp($vo["l_url"]); ?> " title="<?php echo $vo["l_name"]; ?> " target="_blank"><?php echo ishttp($vo["l_url"]); ?> </a></td> <td width="11%"><?php echo status($vo["l_status"], '已停用-正常-已过期'); ?> </td> <td width="16%"><?php echo date('Y-m-d', $vo["l_time"]); ?> -- <?php echo date('Y-m-d', $vo["l_overtime"]); ?> </td> <td width="9%" align="left"><a href="__URL__/addlink/id/<?php echo $vo["id"];
function treat_link($aa_inner, $txa) { if ($txa) { $tag = 'href='; $len = 6; if (substr($txa, 0, 1) == ' ') { $sp = ' '; } $txt = clean_internaltag($txa); ///testing if (strpos($txt, '>')) { $txt = substr($txt, strpos($txt, '>') + 1); } } else { $tag = 'src='; $len = 5; $im = "ok"; } $root = findroot($_GET['urlsrc'] ? $_GET['urlsrc'] : $_POST['urlsrc']); $imnb = strpos(strtolower($aa_inner), $tag); if ($imnb !== false) { $imnc = substr($aa_inner, $imnb + $len - 1, 1); if ($imnc == '"' or $imnc == "'") { $bend = strpos($aa_inner, $imnc, $imnb + $len); $nb = $len; } else { $bend = strpos($aa_inner, " ", $imnb + $len - 1); $nb = $len - 1; } } if ($bend === false) { $bend = strpos($aa_inner, '>', $imnb + $nb); } $src = substr($aa_inner, $imnb + $nb, $bend - $imnb - $nb); if (strpos($aa_inner, 'popup_nbp')) { $mid = '[' . $txt . ':nh]'; } //philum_anchor if (strpos($src, 'base64')) { $mid = '[' . b64img($src) . ']'; } elseif ($src) { $src = utmsrc($src); $txt = utmsrc($txt); if ($tag == 'src=') { if ($pos = strpos($src, '?')) { $src = substr($src, 0, $pos); } } $src = str_replace(' ', "%20", $src); $src = mb_ereg_replace("(\n)|(\t)", '', $src); $txt = mb_ereg_replace("(\n)|(\t)", '', $txt); if (substr($src, 0, 2) == '//') { $src = 'http:' . $src; } if (strpos($src, 'http') === false) { $rot = partsoflink($root, $src); } if (substr($src, 0, 1) == '/') { $src = substr($src, 1); } if (substr($src, -1) == '/') { $src = substr($src, 0, -1); } if (substr($txt, 0, 1) == '/') { $txt = substr($txt, 0, -1); } $src = str_replace('../', '', $src); //if(!is_image($rot.$src,xt($src)) && $im)$ext=":img"; if (strpos($src, "javascript") !== false) { $src = ""; } //if(strpos($aa_inner,'cs_glossaire')!==false)$mid='['.($txa).':pop]';//dico if (strpos($aa_inner, 'cs_glossaire') !== false) { $mid = $txa; } elseif ($txt && $txt != ' ') { $posdiez = strpos($src, '#'); $rt = array('youtube.com/watch', 'youtu.be', 'dailymotion', 'vimeo', 'rutube'); if ($posdiez !== false) { //$mid=$txt; //skip_anchors $id = prop_detect($aa_inner, 'name'); if (!$id) { $id = prop_detect($aa_inner, "name='", "'"); } if (!$id) { $id = prop_detect($aa_inner, 'id'); } if (!$id) { $id = embed_detect($aa_inner, "id='", "'"); } if (substr($src, $posdiez + 1, 2) == "nb") { $mid = '[' . $txt . ':nh]'; } elseif (substr($src, $posdiez + 1, 2) == "nh") { $mid = '[' . $txt . ':nb]'; } if (substr($src, $posdiez + 1, 4) == "_ftn") { $mid = '[' . $txt . ':nh]'; } elseif (substr($src, $posdiez + 1, 7) == "_ftnref") { $mid = '[' . $txt . ':nb]'; } if (!$mid) { if (!$txt) { $mid = substr($src, $posdiez + 1); } elseif (substr($txt, 0, 1) == '[' or substr($txt, 0, 1) == '(') { $mid = $txt; } else { $mid = '[' . $txt . ']'; } } } elseif (in_array_p($src, $rt)) { if (!is_image($txt) && !ishttp($txt)) { $txb = $txt; $pop = ''; } $mid = auto_video($src, $pop, $txb); } elseif (strpos($src, "mailto:") !== false) { $mid = '[' . substr($src, 7) . '] '; } elseif (is_image($src) && is_image($txt)) { $mid = '[' . $rot . $src . '] '; } elseif ($txt && $src && strpos($txt, $src) !== false) { $mid = '[' . $rot . $src . '] '; } elseif ($rot . $src != $txt) { $txt = trim($txt); if (is_image($src)) { if (!is_image($txt) && $txt != 'https') { $mid = '[' . $rot . $src . ($txt ? '§' . $txt : '') . ']'; } else { $mid = '[' . $rot . $src . ']'; } } elseif (strpos($txt, '...') !== false && strpos($src, str_replace('...', '', $txt)) !== false) { $mid = '[' . $rot . $src . '] '; } else { $mid = '[' . $rot . $src . '§' . $txt . '] '; } } else { $mid = '[' . $rot . $src . '] ' . $txb; } } else { $mid = '[' . $rot . $src . $ext . '] ' . $txb; } } elseif ($txt) { $mid = $txt . ' '; } return $sp . $mid; }
</div> </div> </div> <div class="suof"> <a href="#"></a> </div> </div> </aside> </div> <div class="conbanbox"> <div class="conban"> <?php $term = sp_get_term($term_id); ?> <?php if (ishttp($term['description'])) { ?> <div class="item item_1" style="background-image:url(<?php echo $term['description']; ?> );data:#2b74ba;"></div> <?php } else { ?> <div class="item item_1" style="background-image:url(/tpl/hualibootx/Public/images/page-general.png);data:#2b74ba;"></div><?php } ?> </div> <?php $breadnav = getParents($navList, $nid); $breadnav = array_slice($breadnav, 0, -1);