Данный материал предоставлен сайтом ProWebber.cc исключительно в ознакомительных целях. Администрация не несет ответственности за его содержимое.
Скачать бесплатно RIP сайта coolwebmasters.com.
Скачать бесплатно RIP сайта coolwebmasters.com.
Представляю вам рип сайта coolwebmasters.com/
Рип сделан для последней версии DLE 10.2
Автор рипа: Жизнепоглатитель
В файлах нет ни одной сторонней ссылки
ВАЖНО:
поиск по сайту как на coolwebmasters.com
открыть engine/modules/search.php
найти
$searchtable .= <<<HTML (Внимание в коде вы найде эту строку 3 раза, заменить нужно будет только большой html код, как снизу
после вставить
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="search">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr style="vertical-align: top;">
<td class="search">
<fieldset style="margin: 0px;">
<legend>{$lang['s_con']}</legend>
<table width="300" border="0" cellspacing="0" cellpadding="0" class="search" style="margin: 0 auto;">
<tr>
<td height="40" align="center">
<div>{$lang['s_word']}</div>
<div><input type="text" name="story" id="searchinput" value="$findstory" class="textin_input" style="width: 250px;" /></div>
{$all_word_option}
</td>
</tr>
<tr>
<td height="25" align="center">
<select name="titleonly" id="titleonly" style="width: 200px;" class="textin_select">
<option {$titleonly_sel['0']} value="0">{$lang['s_ncom']}</option>
<option {$titleonly_sel['1']} value="1">{$lang['s_ncom1']}</option>
<option {$titleonly_sel['2']} value="2">{$lang['s_static']}</option>
<option {$titleonly_sel['3']} value="3">{$lang['s_tnews']}</option>
</select>
</td>
</tr>
</table>
</fieldset><br />
</td>
</tr>
<tr style="vertical-align: top;">
<td class="search">
<fieldset>
<legend>{$lang['s_fart']}</legend>
<table width="420" border="0" cellspacing="0" cellpadding="0" class="search" style="margin: 0 auto;">
<tr>
<td>
<select name="replyless" id="replyless" style="width: 200px;" class="textin_select">
<option {$replyless_sel['0']} value="0">{$lang['s_fmin']}</option>
<option {$replyless_sel['1']} value="1">{$lang['s_fmax']}</option>
</select>
</td>
<td><input type="text" name="replylimit" id="replylimit" value="$replylimit" class="textin_input" style="width: 50px; margin: 0;" /></td>
<td>{$lang['s_wcomm']}</td>
</tr>
</table>
</fieldset><br />
<fieldset style="padding-top: 10px;">
<legend>{$lang['s_fdaten']}</legend>
<table width="420" border="0" cellspacing="0" cellpadding="0" class="search" style="margin: 0 auto;">
<tr>
<td height="25">
<select name="searchdate" id="searchdate" style="width: 200px;" class="textin_select">
<option {$searchdate_sel['0']} value="0">{$lang['s_tall']}</option>
<option {$searchdate_sel['-1']} value="-1">{$lang['s_tlast']}</option>
<option {$searchdate_sel['1']} value="1">{$lang['s_tday']}</option>
<option {$searchdate_sel['7']} value="7">{$lang['s_tweek']}</option>
<option {$searchdate_sel['14']} value="14">{$lang['s_ttweek']}</option>
<option {$searchdate_sel['30']} value="30">{$lang['s_tmoth']}</option>
<option {$searchdate_sel['90']} value="90">{$lang['s_tfmoth']}</option>
<option {$searchdate_sel['180']} value="180">{$lang['s_tsmoth']}</option>
<option {$searchdate_sel['365']} value="365">{$lang['s_tyear']}</option>
</select>
</td>
<td>
<select name="beforeafter" id="beforeafter" style="width: 200px;" class="textin_select">
<option {$beforeafter_sel['after']} value="after">{$lang['s_fnew']}</option>
<option {$beforeafter_sel['before']} value="before">{$lang['s_falt']}</option>
</select>
</td>
</tr>
</table>
</fieldset><br />
<fieldset style="padding-top: 10px;">
<legend>{$lang['s_fsoft']}</legend>
<table width="420" border="0" cellspacing="0" cellpadding="0" class="search" style="margin: 0 auto;">
<tr>
<td height="25">
<select name="sortby" id="sortby" style="width: 200px;" class="textin_select">
{$full_search_option}
<option {$sortby_sel['title']} value="title" >{$lang['s_fstitle']}</option>
<option {$sortby_sel['comm_num']} value="comm_num" >{$lang['s_fscnum']}</option>
<option {$sortby_sel['news_read']} value="news_read" >{$lang['s_fsnnum']}</option>
<option {$sortby_sel['autor']} value="autor" >{$lang['s_fsaut']}</option>
<option {$sortby_sel['category']} value="category" >{$lang['s_fscat']}</option>
<option {$sortby_sel['rating']} value="rating" >{$lang['s_fsrate']}</option>
</select>
</td>
<td>
<select name="resorder" id="resorder" style="width: 200px;" class="textin_select">
<option {$resorder_sel['desc']} value="desc">{$lang['s_fsdesc']}</option>
<option {$resorder_sel['asc']} value="asc">{$lang['s_fsasc']}</option>
</select>
</td>
</tr>
</table>
</fieldset><br />
<fieldset style="padding-top: 10px;">
<legend>{$lang['s_vlegend']}</legend>
<table width="160" border="0" cellspacing="0" cellpadding="0" class="search" style="margin: 0 auto;">
<tr>
<td>
<label for="rb_showposts_0"><input type="radio" name="showposts" value="0" id="rb_showposts_0" {$showposts_sel['0']}/>{$lang['s_vnews']}</label>
<label for="rb_showposts_1"><input type="radio" name="showposts" value="1" id="rb_showposts_1" {$showposts_sel['1']}/>{$lang['s_vtitle']}</label>
</td>
</tr>
</table>
</fieldset><br />
</td>
</tr>
<tr>
<td valign="top">
<fieldset style="margin: 0px;">
<legend>{$lang['s_mname']}</legend>
<table width="300" border="0" cellspacing="0" cellpadding="0" class="search" style="margin: 0 auto;">
<tr>
<td height="55" align="center">
<div>{$lang['s_fname']}</div>
<div id="userfield"><input type="text" name="searchuser" id="searchuser" value="$searchuser" class="textin_input" style="width: 250px;" /><br /><label for="exactname"><input type="checkbox" name="exactname" value="yes" id="exactname" {$exactname_sel} />{$lang['s_fgname']}</label>
</div>
</td>
</tr>
</table>
</fieldset><br />
</td>
</tr>
<tr>
<td valign="top" align="center">
<fieldset style="margin: 0px;">
<legend>{$lang['s_fcats']}</legend>
<div align="center" style="padding: 3px;">
<div>$cats</div>
</div>
</fieldset>
</td>
</tr>
<tr>
<td>
<div style="width: 370px; margin: 6px auto 0;">
<input type="button" class="bbcodes_poll" style="margin: 0 10px;" name="dosearch" id="dosearch" value="{$lang['s_fstart']}" onclick="javascript:list_submit(-1); return false;" />
<input type="button" class="bbcodes_poll" style="margin: 0 10px;" name="doclear" id="doclear" value="{$lang['s_fstop']}" onclick="javascript:clearform('fullsearch'); return false;" />
<input type="reset" class="bbcodes_poll" style="margin: 0 10px;" name="doreset" id="doreset" value="{$lang['s_freset']}" />
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<tr>
<td class="search">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr style="vertical-align: top;">
<td class="search">
<fieldset style="margin: 0px;">
<legend>{$lang['s_con']}</legend>
<table width="300" border="0" cellspacing="0" cellpadding="0" class="search" style="margin: 0 auto;">
<tr>
<td height="40" align="center">
<div>{$lang['s_word']}</div>
<div><input type="text" name="story" id="searchinput" value="$findstory" class="textin_input" style="width: 250px;" /></div>
{$all_word_option}
</td>
</tr>
<tr>
<td height="25" align="center">
<select name="titleonly" id="titleonly" style="width: 200px;" class="textin_select">
<option {$titleonly_sel['0']} value="0">{$lang['s_ncom']}</option>
<option {$titleonly_sel['1']} value="1">{$lang['s_ncom1']}</option>
<option {$titleonly_sel['2']} value="2">{$lang['s_static']}</option>
<option {$titleonly_sel['3']} value="3">{$lang['s_tnews']}</option>
</select>
</td>
</tr>
</table>
</fieldset><br />
</td>
</tr>
<tr style="vertical-align: top;">
<td class="search">
<fieldset>
<legend>{$lang['s_fart']}</legend>
<table width="420" border="0" cellspacing="0" cellpadding="0" class="search" style="margin: 0 auto;">
<tr>
<td>
<select name="replyless" id="replyless" style="width: 200px;" class="textin_select">
<option {$replyless_sel['0']} value="0">{$lang['s_fmin']}</option>
<option {$replyless_sel['1']} value="1">{$lang['s_fmax']}</option>
</select>
</td>
<td><input type="text" name="replylimit" id="replylimit" value="$replylimit" class="textin_input" style="width: 50px; margin: 0;" /></td>
<td>{$lang['s_wcomm']}</td>
</tr>
</table>
</fieldset><br />
<fieldset style="padding-top: 10px;">
<legend>{$lang['s_fdaten']}</legend>
<table width="420" border="0" cellspacing="0" cellpadding="0" class="search" style="margin: 0 auto;">
<tr>
<td height="25">
<select name="searchdate" id="searchdate" style="width: 200px;" class="textin_select">
<option {$searchdate_sel['0']} value="0">{$lang['s_tall']}</option>
<option {$searchdate_sel['-1']} value="-1">{$lang['s_tlast']}</option>
<option {$searchdate_sel['1']} value="1">{$lang['s_tday']}</option>
<option {$searchdate_sel['7']} value="7">{$lang['s_tweek']}</option>
<option {$searchdate_sel['14']} value="14">{$lang['s_ttweek']}</option>
<option {$searchdate_sel['30']} value="30">{$lang['s_tmoth']}</option>
<option {$searchdate_sel['90']} value="90">{$lang['s_tfmoth']}</option>
<option {$searchdate_sel['180']} value="180">{$lang['s_tsmoth']}</option>
<option {$searchdate_sel['365']} value="365">{$lang['s_tyear']}</option>
</select>
</td>
<td>
<select name="beforeafter" id="beforeafter" style="width: 200px;" class="textin_select">
<option {$beforeafter_sel['after']} value="after">{$lang['s_fnew']}</option>
<option {$beforeafter_sel['before']} value="before">{$lang['s_falt']}</option>
</select>
</td>
</tr>
</table>
</fieldset><br />
<fieldset style="padding-top: 10px;">
<legend>{$lang['s_fsoft']}</legend>
<table width="420" border="0" cellspacing="0" cellpadding="0" class="search" style="margin: 0 auto;">
<tr>
<td height="25">
<select name="sortby" id="sortby" style="width: 200px;" class="textin_select">
{$full_search_option}
<option {$sortby_sel['title']} value="title" >{$lang['s_fstitle']}</option>
<option {$sortby_sel['comm_num']} value="comm_num" >{$lang['s_fscnum']}</option>
<option {$sortby_sel['news_read']} value="news_read" >{$lang['s_fsnnum']}</option>
<option {$sortby_sel['autor']} value="autor" >{$lang['s_fsaut']}</option>
<option {$sortby_sel['category']} value="category" >{$lang['s_fscat']}</option>
<option {$sortby_sel['rating']} value="rating" >{$lang['s_fsrate']}</option>
</select>
</td>
<td>
<select name="resorder" id="resorder" style="width: 200px;" class="textin_select">
<option {$resorder_sel['desc']} value="desc">{$lang['s_fsdesc']}</option>
<option {$resorder_sel['asc']} value="asc">{$lang['s_fsasc']}</option>
</select>
</td>
</tr>
</table>
</fieldset><br />
<fieldset style="padding-top: 10px;">
<legend>{$lang['s_vlegend']}</legend>
<table width="160" border="0" cellspacing="0" cellpadding="0" class="search" style="margin: 0 auto;">
<tr>
<td>
<label for="rb_showposts_0"><input type="radio" name="showposts" value="0" id="rb_showposts_0" {$showposts_sel['0']}/>{$lang['s_vnews']}</label>
<label for="rb_showposts_1"><input type="radio" name="showposts" value="1" id="rb_showposts_1" {$showposts_sel['1']}/>{$lang['s_vtitle']}</label>
</td>
</tr>
</table>
</fieldset><br />
</td>
</tr>
<tr>
<td valign="top">
<fieldset style="margin: 0px;">
<legend>{$lang['s_mname']}</legend>
<table width="300" border="0" cellspacing="0" cellpadding="0" class="search" style="margin: 0 auto;">
<tr>
<td height="55" align="center">
<div>{$lang['s_fname']}</div>
<div id="userfield"><input type="text" name="searchuser" id="searchuser" value="$searchuser" class="textin_input" style="width: 250px;" /><br /><label for="exactname"><input type="checkbox" name="exactname" value="yes" id="exactname" {$exactname_sel} />{$lang['s_fgname']}</label>
</div>
</td>
</tr>
</table>
</fieldset><br />
</td>
</tr>
<tr>
<td valign="top" align="center">
<fieldset style="margin: 0px;">
<legend>{$lang['s_fcats']}</legend>
<div align="center" style="padding: 3px;">
<div>$cats</div>
</div>
</fieldset>
</td>
</tr>
<tr>
<td>
<div style="width: 370px; margin: 6px auto 0;">
<input type="button" class="bbcodes_poll" style="margin: 0 10px;" name="dosearch" id="dosearch" value="{$lang['s_fstart']}" onclick="javascript:list_submit(-1); return false;" />
<input type="button" class="bbcodes_poll" style="margin: 0 10px;" name="doclear" id="doclear" value="{$lang['s_fstop']}" onclick="javascript:clearform('fullsearch'); return false;" />
<input type="reset" class="bbcodes_poll" style="margin: 0 10px;" name="doreset" id="doreset" value="{$lang['s_freset']}" />
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
далее найти еще раз
$searchtable .= <<<HTML (сразу ниже верхнего кода) и после вставить
<table cellpadding="4" cellspacing="0" width="100%">
<tr>
<td class="search" align="center">
<div style="margin:10px;">
<input type="text" name="story" id="searchinput" value="$findstory" class="textin" style="width:250px" /><br /><br />
<input type="button" class="bbcodes" name="dosearch" id="dosearch" value="{$lang['s_fstart']}" onclick="javascript:list_submit(-1); return false;" />
{$link_full_search}
</div>
</td>
</tr>
</table>
<tr>
<td class="search" align="center">
<div style="margin:10px;">
<input type="text" name="story" id="searchinput" value="$findstory" class="textin" style="width:250px" /><br /><br />
<input type="button" class="bbcodes" name="dosearch" id="dosearch" value="{$lang['s_fstart']}" onclick="javascript:list_submit(-1); return false;" />
{$link_full_search}
</div>
</td>
</tr>
</table>
вот и все, форма поиска будет как и у coolwebmasters.com
если нашли ошибку, пишите, с радостью исправлю.
Внимание! У Вас нет прав для просмотра скрытого текста.
Внимание! У Вас нет прав для просмотра скрытого текста.
Если нужной кодировки шаблона нету в данной новости, воспользуйтесь программой Recoder v2.1.
С ее помощью можно перекодировать файлы шаблона в любую нужную вам кодировку.
Все файлы очищены от скрытых ссылок!
Если в данном материале Вы нашли скрытые ссылки - свяжитесь с администрацией. Мы немедленно очистим файлы и обновим архив!
Предыдущая Следующая