// ,   
type - ( );  : ; : movie|, news|; ( !         )
poster - (,  / 240x360); 
slide - (   ,  / 628x346); 
year - ();
other_name - ( );
country - ();
cast - ( );
director - ();
trailer - ();
movie - ();
imdb - ( IMDB);
kp - ( );
length - ();
quality - (); 
screen_1 -  1 (         );
screen_2 -  2;
screen_3 -  3;
screen_4 -  4;
news_image -   
//  
   - templates/shortnews.tpl
   - templates/fullnews.tpl
// 1   (     )
engine/modules/show.full.php


$tpl->set( '{rating}', ShowRating( $row['id'], $row['rating'], $row['vote_num'], $user_group[$member_id['user_group']]['allow_rating'] ) );
 
$tpl->set( '{rate}', str_replace(",",".",round($row['rating']/max(1,$row['vote_num']),1)));

engine/modules/show.short.php


$tpl->set( '{rating}', ShowRating( $row['id'], $row['rating'], $row['vote_num'], 1 ) );
 
$tpl->set( '{rate}', str_replace(",",".",round($row['rating']/max(1,$row['vote_num']),1)));

engine/modules/show.custom.php


$tpl->set( '{rating}', ShowRating( $row['id'], $row['rating'], $row['vote_num'], 1 ) );
 
$tpl->set( '{rate}', str_replace(",",".",round($row['rating']/max(1,$row['vote_num']),1)));

//     
engine/modules/search.php ( 223 )


$searchtable .= <<<HTML
<table cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td class="search">
      <div align="center">
        <table cellpadding="0" cellspacing="2" width="100%">

        <tr style="vertical-align: top;">
				<td class="search">
					<fieldset style="margin:0px">
						<legend>{$lang['s_con']}</legend>
						<table cellpadding="0" cellspacing="3" border="0">
						<tr>
						<td class="search">
							<div>{$lang['s_word']}</div>
							<div><input type="text" name="story" id="searchinput" value="$findstory" class="textin" style="width:250px" onchange="document.getElementById('result_from').value = 1" /></div>
							{$all_word_option}
						</td>
						</tr>
						<tr>
						<td class="search">
							<select class="textin" name="titleonly" id="titleonly">
								<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>
				</td>

				<td class="search" valign="top">					
					<fieldset style="margin:0px">
						<legend>{$lang['s_mname']}</legend>
						<table cellpadding="0" cellspacing="3" border="0">
						<tr>
						<td class="search">
							<div>{$lang['s_fname']}</div>
							<div id="userfield"><input type="text" name="searchuser" id="searchuser" value="$searchuser" class="textin" 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>
				</td>
				</tr>

				<tr style="vertical-align: top;">

				<td width="50%" class="search">
					<fieldset style="margin:0px">
						<legend>{$lang['s_fart']}</legend>
						<div style="padding:3px">
							<select class="textin" name="replyless" id="replyless" style="width:200px">
								<option {$replyless_sel['0']} value="0">{$lang['s_fmin']}</option>
								<option {$replyless_sel['1']} value="1">{$lang['s_fmax']}</option>
							</select>
							<input type="text" name="replylimit" id="replylimit" size="5" value="$replylimit" class="textin" /> {$lang['s_wcomm']}
						</div>
					</fieldset>

					<fieldset style="padding-top:10px">
						<legend>{$lang['s_fdaten']}</legend>

						<div style="padding:3px">					
							<select name="searchdate" id="searchdate" class="textin" style="width:200px">
								<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>
							<select name="beforeafter" id="beforeafter" class="textin">
								<option {$beforeafter_sel['after']} value="after">{$lang['s_fnew']}</option>
								<option {$beforeafter_sel['before']} value="before">{$lang['s_falt']}</option>
							</select>
						</div>
					</fieldset>

					<fieldset style="padding-top:10px">
						<legend>{$lang['s_fsoft']}</legend>
							<div style="padding:3px">
								<select name="sortby" id="sortby" class="textin" style="width:200px">
									{$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>
								<select name="resorder" id="resorder" class="textin">
									<option {$resorder_sel['desc']} value="desc">{$lang['s_fsdesc']}</option>
									<option {$resorder_sel['asc']} value="asc">{$lang['s_fsasc']}</option>
								</select>
							</div>
					</fieldset>

					<fieldset style="padding-top:10px">
						<legend>{$lang['s_vlegend']}</legend>

						<table cellpadding="0" cellspacing="3" border="0">
						<tr align="left" valign="middle">
						<td align="left" class="search">{$lang['s_vwie']}&nbsp;&nbsp;
							<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>
				</td>

				<td width="50%" class="search" valign="top">
					<fieldset style="margin:0px">
						<legend>{$lang['s_fcats']}</legend>
							<div style="padding:3px">
								<div>$cats</div>
							</div>

					</fieldset>
				</td>
				</tr>

        <tr>
                <td class="search" colspan="2">
                    <div style="margin-top:6px">
                        <input type="button" class="bbcodes" style="margin:0px 20px 0 0px;" name="dosearch" id="dosearch" value="{$lang['s_fstart']}" onclick="javascript:list_submit(-1); return false;" />
                        <input type="button" class="bbcodes" style="margin:0px 20px 0 20px;" name="doclear" id="doclear" value="{$lang['s_fstop']}" onclick="javascript:clearform('fullsearch'); return false;" />
                        <input type="reset" class="bbcodes" style="margin:0px 20px 0 20px;" name="doreset" id="doreset" value="{$lang['s_freset']}" />
                    </div>

                </td>
                </tr>

        </table>
      </div>
    </td>
  </tr>
</table>
HTML;

 
$searchtable .= <<<HTML
<div class="search-section">
	<fieldset style="margin:0px">
		<legend>{$lang['s_con']}</legend>
		<table cellpadding="0" cellspacing="3" border="0">
			<tr>
				<td class="search">
					<div>{$lang['s_word']}</div>
					<div><input type="text" name="story" id="searchinput" value="$findstory" class="textin" style="width:250px" onchange="document.getElementById('result_from').value = 1" /></div>
					{$all_word_option}
				</td>
			</tr>
			<tr>
			    <td class="search">
				    <select class="textin" name="titleonly" id="titleonly">
					    <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>
</div>
<div class="search-section">					
	<fieldset style="margin:0px">
		<legend>{$lang['s_mname']}</legend>
		<table cellpadding="0" cellspacing="3" border="0">
			<tr>
				<td class="search">
					<div>{$lang['s_fname']}</div>
					<div id="userfield"><input type="text" name="searchuser" id="searchuser" value="$searchuser" class="textin" 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>
</div>
<div class="search-section">
	<fieldset style="margin:0px">
		<legend>{$lang['s_fart']}</legend>
		<div style="padding:3px;color:#ecede8;">
			<select class="textin" name="replyless" id="replyless" style="width:200px">
				<option {$replyless_sel['0']} value="0">{$lang['s_fmin']}</option>
				<option {$replyless_sel['1']} value="1">{$lang['s_fmax']}</option>
			</select>
			<input type="text" name="replylimit" id="replylimit" size="5" value="$replylimit" class="textin" /> {$lang['s_wcomm']}
	    </div>
	</fieldset>
   <fieldset style="padding-top:10px">
		<legend>{$lang['s_fdaten']}</legend>
        <div style="padding:3px">					
			<select name="searchdate" id="searchdate" class="textin" style="width:200px">
				<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>
			<select name="beforeafter" id="beforeafter" class="textin">
				<option {$beforeafter_sel['after']} value="after">{$lang['s_fnew']}</option>
				<option {$beforeafter_sel['before']} value="before">{$lang['s_falt']}</option>
			</select>
		</div>
	</fieldset>
    <fieldset style="padding-top:10px">
		<legend>{$lang['s_fsoft']}</legend>
		<div style="padding:3px">
			<select name="sortby" id="sortby" class="textin" style="width:200px">
				{$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>
			<select name="resorder" id="resorder" class="textin">
				<option {$resorder_sel['desc']} value="desc">{$lang['s_fsdesc']}</option>
				<option {$resorder_sel['asc']} value="asc">{$lang['s_fsasc']}</option>
			</select>
		</div>
	</fieldset>
    <fieldset style="padding-top:10px">
		<legend>{$lang['s_vlegend']}</legend>
        <table cellpadding="0" cellspacing="3" border="0">
			<tr align="left" valign="middle">
				<td align="left" class="search">{$lang['s_vwie']}&nbsp;&nbsp;
					<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>
</div>
<div class="search-section">
	<fieldset style="margin:0px">
		<legend>{$lang['s_fcats']}</legend>
		<div style="padding:3px">
			<div>$cats</div>
		</div>
    </fieldset>
</div>
<div class="search-section">
    <div style="margin-top:6px">
        <input type="button" class="bbcodes" style="margin:0px 20px 0 0px;" name="dosearch" id="dosearch" value="{$lang['s_fstart']}" onclick="javascript:list_submit(-1); return false;" />
        <input type="button" class="bbcodes" style="margin:0px 20px 0 20px;" name="doclear" id="doclear" value="{$lang['s_fstop']}" onclick="javascript:clearform('fullsearch'); return false;" />
        <input type="reset" class="bbcodes" style="margin:0px 20px 0 20px;" name="doreset" id="doreset" value="{$lang['s_freset']}" />
    </div>
</div>
HTML;