Girl xinh việt nam, ảnh girl VN xin xắng đáng yêu
ảnh gái xinh ảnh đẹp, lộ hàng nóng hot,việt nam,gái xinh trinh,trắng tròng,to,đẹp
Tin mới đăng:
Girl xinh việt nam, ảnh girl VN xin xắng đáng yêu
ảnh gái xinh ảnh đẹp, lộ hàng nóng hot,việt nam,gái xinh trinh,trắng tròng,to,đẹp
Có thể dùng để tạo icon game cạnh link download thêm sinh động. Tạo file java.php rồi pase code này vào:
<?php
if(!isset($_GET['jar']))exit;
$zip = new ZipArchive;
if ($zip->open(base64_decode
($_GET['jar'])) === TRUE) {
if($manifest = $zip->getFromName('META-INF/
MANIFEST.MF')){
if (strpos($manifest, 'MIDlet-Icon: ') !== FALSE){
$jad = explode('MIDlet-Icon: ',$manifest);
$icon = str_replace("n",' ', $jad[1]);
$icon = str_replace("r",' ', $icon);
$icon = strtok($icon,' ');
$icon = preg_replace('#/#', NULL, $icon);
}
else $icon='icon.png';
}else exit;
if($image = $zip->getFromName($icon)){
$image = imagecreatefromstrin($image);
$width=imagesx($image);
$height=imagesy($image);
$x_ratio=16/$width;
$y_ratio=16/$height;
if(($width<=16)&&
($height<=16)){
$tn_width=$width;
$tn_height=$height;
}elseif(($x_ratio*$height)<16){
$tn_height=ceil($x_ratio*
$height);
$tn_width=16;
}else{
$tn_width=ceil($y_ratio*$width);
$tn_height=16;
}
$dst=ImageCreate($tn_width,$tn_height);
imagecopyresampled($dst, $image, 0, 0, 0, 0, $tn_widt,$tn_height,$width,$height);
$image = $dst;
}else{
$image = imagecreatefrompng('my_icon.png');
}
header('Content-type: image/
png');
ImagePng($image);
ImageDestroy($image);
$zip->close();
}
?>
cách dùng: chạy link <span style="text-decoration: underline;">java.php?jar=linkgame</span> để lấy link icon
- Code add thêm mod mô tả và ảnh địa diện từ thẻ img đầu tiên, chỉ có vầy hướng dẫn sử dụng các bác search của thym jin9x dùm e nha
- Demo: http://xalo97.wap.sh/game-java
Code [download title="Download" link="http://dl.dropboxusercontent.com/u/178749562/filelist-by-hpgame-org.zip"][/download]
Thấy nhiều anh em xin quá, hôm nay ngồi làm TUT cho ae
TUT này mình viết nên đừng có bảo copy xong share nhá
Code này trong bản gốc cũng có rồi, tại mọi người không để ý thôi
Hướng dẫn:
Bước 1:
mở forum/index.php tìm
$headmod = $id ? 'forum,' . $id : 'forum';
$postres = mysql_fetch_assoc(mysql_query("SELECT `forum`.* FROM `forum` LEFT JOIN `users` ON `forum`.`user_id` = `users`.`id` WHERE `forum`.`type` = 'm' AND `forum`.`refid` = '$id' ORDER BY `forum`.`id` ASC LIMIT 1"));
$tukhoa = $textl;
$mota = bbcode::notags($postres['text']);$headmod = isset($headmod) ? mysql_real_escape_string($headmod) : '';
if (strlen($tukhoa) < 5)
$tukhoa = $set['meta_key'];
if (strlen($mota) < 5)
$mota = $set['meta_desc'];
$mota = html_entity_decode($mota, ENT_QUOTES, 'UTF-8');
$tukhoa = html_entity_decode($tukhoa, ENT_QUOTES, 'UTF-8');
(!empty($set['meta_key']) ? "\n" . '<meta name="keywords" content="' . $set['meta_key'] . '" />' : '') .
(!empty($set['meta_desc']) ? "\n" . '<meta name="description" content="' . $set['meta_desc'] . '" />' : '') .
"\n" . '<meta name="keywords" content="'.mb_substr($tukhoa, 0, 160).'" />' .
"\n" . '<meta name="description" content="'.mb_substr($mota, 0, 160).'" />' .
