1
Follow 4images on twitter: Click here to follow!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
if (isset($HTTP_GET_VARS['l']) || isset($HTTP_POST_VARS['l'])) {
$l = (isset($HTTP_GET_VARS['l'])) ? trim($HTTP_GET_VARS['l']) : trim($HTTP_POST_VARS['l']);
if (file_exists(ROOT_PATH.'lang/'.$l.'/main.php')) {
$config['language_dir'] = $l;
}
}
$l = null;
if (isset($HTTP_GET_VARS['l']) || isset($HTTP_POST_VARS['l'])) {
$requested_l = (isset($HTTP_GET_VARS['l'])) ? trim($HTTP_GET_VARS['l']) : trim($HTTP_POST_VARS['l']);
if (!preg_match('#\.\.[\\\/]#', $requested_l) && $requested_l != $config['language_dir'] && file_exists(ROOT_PATH.'lang/'.$requested_l.'/main.php')) {
$l = $requested_l;
$config['language_dir'] = $l;
}
}
if ($requested_l != $config['language_dir'] && file_exists(ROOT_PATH.'lang/'.$requested_l.'/main.php')) {
bunla deðiþ: if (!preg_match('#\.\.[\\\/]#', $requested_l) && $requested_l != $config['language_dir'] && file_exists(ROOT_PATH.'lang/'.$requested_l.'/main.php')) {
4images Türkiye if (!check_permission("auth_readcomment", $image_row['cat_id'])) {
$image_row['image_allow_comments'] = 0;
}
if ($image_row['image_rating'] == '5.00') {
$rating_pic = "5.gif";
} elseif ($image_row['image_rating'] >= '4.00') {
$rating_pic = "4.gif";
} elseif ($image_row['image_rating'] >= '3.00') {
$rating_pic = "3.gif";
} elseif ($image_row['image_rating'] >= '2.00') {
$rating_pic = "2.gif";
} elseif ($image_row['image_rating'] >= '1.00') {
$rating_pic = "1.gif";
} else {
$rating_pic = "0.gif";
}
$site_template->register_vars(array(
"rating_pic" => $rating_pic,
"lang_rating" => $lang['rating'],
"lang_votes" => $lang['votes']
));
<br><img src="{template_url}/images/{rating_pic}" width="55" height="10" alt="{lang_rating} {image_rating} ({image_votes} {lang_votes})" /><br>
bu kodu ekleyiniz.?>
$additional_image_fields['google_id'] = array($lang['google_video'], "text", 0);
$additional_image_fields['youtube_id'] = array($lang['youtube_video'], "text", 0);
{image}
önüne: {if google_id}
{google_id}
{endif google_id}
{if youtube_id}
<object width="476" height="392"><param name="movie" value="http://www.youtube.com/v/{youtube_id}"></param><embed src="http://www.youtube.com/v/{youtube_id}" type="application/x-shockwave-flash" width="476" height="392" ></embed></object>
{endif youtube_id}
ekleyelim$lang['google_video']="Embed Kodu";
$lang ['youtube_video']="YouTube ID";
show_nav_option("phpinfo()", "phpinfo.php");
if ($user_info['user_level'] == ADMIN && $user_info['user_level'] != MODERADOR && $user_info['user_level'] != GUEST) {
show_nav_header(Speedsupport);
show_nav_option(Lastpost, "plugins/Speedsupport/4images_lastpost.php");
show_nav_option(Mods, "plugins/Speedsupport/4images_mods.php");
show_nav_option(Plugins, "plugins/Speedsupport/4images_plugins.php");
show_nav_option(Search, "plugins/Speedsupport/4images_search.php");
show_nav_option(Troubleshooting, "plugins/Speedsupport/4images_troubleshooting.php");
show_nav_option(International, "plugins/Speedsupport/4images_international.php");
show_nav_option(Turkiye, "plugins/Speedsupport/4images_turkiye.php");
}
<!-- Template file for FLV files -->
<object type="application/x-shockwave-flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="345" height="300">
<param name="movie" value="./data/player.swf?video=./.{media_src}&buffer=6">
<param name="quality" value="high">
<embed src="./data/player.swf?video=./.{media_src}&buffer=6" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="345" height="300">
</embed></object>
bu kodlarý flv.html diye kaydedip templates/temanýz/media/ klasörüne atalým$mime_type_match['swf'] = array("application/x-shockwave-flash");
altýna bu kodu ekleyelim: $mime_type_match['flv'] = array("application/x-shockwave-flash", "application/octet-stream", "video/flv");
5: son olarak admin panelinde genel ayarlar kýsmýnda jpg,gif,swf, falan yazan kýsma flv yi de ekleyin //---------------------------------------------------------------------------------------------
//---- Template my_menu.html ------------------------------------------------------------------
//---------------------------------------------------------------------------------------------
$my_menu = $site_template->parse_template("my_menu");
$site_template->register_vars(array(
"my_menu" => $my_menu
));
unset($my_menu);
//---------------------------------------------------------------------------------------------
//---- Template my_footer.html ----------------------------------------------------------------
//---------------------------------------------------------------------------------------------
$my_footer = $site_template->parse_template("my_footer");
$site_template->register_vars(array(
"my_footer" => $my_footer
));
unset($my_footer);
2: <div align="center">
<table width="100" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" align="center" height="17" background="{template_url}/images/button.gif" ><a href="index.php" style="text-decoration: none"><strong>First link</strong></a></td>
</tr>
<tr>
<td width="100%" align="center" height="17" background="{template_url}/images/button.gif" ><a href="index.php" style="text-decoration: none"><strong>Second link</strong></a></td>
</tr>
<tr>
<td width="100%" align="center" height="17" background="{template_url}/images/button.gif" ><a href="http://www.mysite.com/" style="text-decoration: none"><strong>Partner</strong></a></td>
</tr>
</table>
</div>
<br>
<br /><div align="center">
<table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
<tr class="head1">
<td width="25%" align="center" class="row1"><a href="contact.php">Contact us</a> </td>
<td width="25%" align="center" class="row2"><a href="cookies.php">Cookies</a></td>
<td width="25%" align="center" class="row1"><a href="terms.php">Terms</a></td>
<td width="25%" align="center" class="row2"><a href="wazza.php">Etc...</a></td>
</tr>
</table>
</div>
isterseniz eklentiden indirip temanýza attýkdan sonra sitenizde editleyin