return <<<HTML <!-- Bar-Rating by sandev.pro --> <div id='ratig-layer-{$id}'> <div class="layer1"> <div class="BHMmbe" > {rate} </div> <div class="LvvOW"> <div class="b-rating-vote-area"> <ul class="b-rating-stars" data-id="{$id}"> <li {$pc[1]} title="ужасно" onclick="doRate('1', '{$id}'); return false;"></li> <li {$pc[2]} title="плохо" onclick="doRate('2', '{$id}'); return false;"></li> <li {$pc[3]} title="нормально" onclick="doRate('3', '{$id}'); return false;"></li> <li {$pc[4]} title="хорошо" onclick="doRate('4', '{$id}'); return false;"></li> <li {$pc[5]} title="отлично" onclick="doRate('5', '{$id}'); return false;"></li> </ul> </div> </div> <span class="EymY4b">Всего: <i class="fa fa-user" aria-hidden="true"></i> <span class="O3QoBc hzfjkd"></span><span class="">{vote-num}</span></span></div> </div> <div class="layer2"> <ul class="b-rating-lines"> {$list} </ul> </div> </div> HTML;
$speedbar = array( array( $config['http_home_url'], $config['short_title'], $config['home_title'] ) );
$speedbar = array();
$tpl->result['content'] = str_replace($meta_found[0], "", $tpl->result['content']);
if ($key != 'keywords') $social_tags[$key] = $metatags[$key];
$meta_found[2] = preg_replace("#\s{2,}#s", " ", $meta_found[2]); if ($key !== 'keywords') $social_tags[$key] = trim(strip_tags($meta_found[2])); $key = str_replace('title', 'header_title', $key); $metatags[$key] = trim(strip_tags($meta_found[2]));
//////////////////////////////////////////////////////////////////////////////////////////////// $simple_meta = array('title','description','keywords'); foreach ($simple_meta as $key) { if (preg_match("#\[({$key})\](.*?)\[/\\1\]\s*#is", $tpl->result['content'], $meta_found)) { if ($key == 'title' && $metatags['header_title']) { } else { if ($key !== 'keywords') $social_tags[$key] = trim(strip_tags($meta_found[2])); $key = str_replace('title', 'header_title', $key); $meta_found[2] = preg_replace("#\s{2,}#s", " ", $meta_found[2]); $metatags[$key] = trim(strip_tags($meta_found[2])); } $tpl->result['content'] = str_replace($meta_found[0], "", $tpl->result['content']); } } ////////////////////////////////////////////////////////////////////////////////////////////////
$row['date1'] = langdate("d.m.Y",$row['date']); $row['date2'] = langdate("H:i",$row['date']); и {$row['date1']}<br>{$row['date2']}
if(date("Ymd",$_TIME)==date("Ymd",$row['date'])) $row['date'] = date("H:i",$row['date']); else $row['date'] = langdate("j M Y H:i",$row['date']);
.lc_chat_list .lc_chat_li .lc_group_4:after { content: "пользователь"; }
@header( "Content-type: text/html; charset=" . $config['charset'] );
$user_group = get_vars( "usergroup" ); if (!$user_group) { $user_group = array (); $db->query( "SELECT * FROM " . USERPREFIX . "_usergroups ORDER BY id ASC" ); while ( $row = $db->get_row() ) { $user_group[$row['id']] = array_map('stripslashes', $row); } set_vars( "usergroup", $user_group ); $db->free(); }
preg_match_all("#<h(\d+)>(.*?)</h\\1>#is", $story, $hmenu);
preg_match_all("#<h2>(.*?)</h2>#is", $story, $hmenu);
preg_match_all("#<h(2)>(.*?)</h\\1>#is", $story, $hmenu);