Demo:
http://tramchim.me/thanh-vien/admin.1/
Tạo 1 file nhacnen.php ngang hàng forum
Save file này về
Add customfield
Nội dung của Regex:
Edit temp member_view
tìm <div class="mast"> và thêm bên dưới
http://tramchim.me/thanh-vien/admin.1/
Tạo 1 file nhacnen.php ngang hàng forum
HTML:
<?php
$link = $_GET['url'];
$link_get = file_get_contents($link);
$link_play = explode('mp3: "',$link_get);
$link_play = explode('"',$link_play[1]);
$link_play = $link_play[0];
header("Location: ".$link_play);
?>
HTML:
http://tramchim.me/player.swf
Nội dung của Regex:
HTML:
http\:\/\/(www\.)?mp3\.zing\.vn\/bai-hat\/.*\/(.*)\.html
tìm <div class="mast"> và thêm bên dưới
HTML:
<xen:if is="{$user.customFields.nhacnen}">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" id="mp3nhacnen" align="top" height="24" width="250">
<param name="wmode" value="transparent">
<param name="volume" value="100">
<param name="allowScriptAccess" value="sameDomain">
<param name="flashVars" value="bg=0xFFFFFF&leftbg=0x627a01&rightbg=0xb3c860&rightbghover=0x627a01&lefticon=0xFFFFFF&righticon=0x411919&righticonhover=0x411919&text=0x411919&slider=0xFFFFFF&track=0xFFFFFF&loader=0xededed&border=0xE6F6F5&autostart=yes&loop=yes&soundFile=nhacnen.php?url={$user.customFields.nhacnen}">
<param name="movie" value="player.swf">
<param name="quality" value="high">
<embed src="player.swf" flashvars="bg=0xf1f3f7&leftbg=0xc9d5e2&rightbg=0xc9d5e2&rightbghover=0xbac5d0&lefticon=0xFFFFFF&righticon=0xFFFFFF&righticonhover=0xFFFFFF&text=0x000000&slider=0x000000&track=0xC9D5E2&loader=0xbac5d0&border=0xE6F6F5&autostart=yes&loop=yes&soundFile=nhacnen.php?url={$user.customFields.nhacnen}" quality="high" wmode="transparent" name="player" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" height="24" width="160">
</object>
</xen:if>