16-12-2016
Code chia sẻ ảnh từ gallery ra trang chủ cho wapego. Các bạn vào
Thông tin người dùng trong thư viện và đặt code sau vào vị trí mong muốn
<form action="main.php?id=ch_topic_h&uid=128445&back_url=/main.php" method="post">
<input type="hidden" name="text" maxlength="200" value='mời bạn xem một [url="http://sharecode.wap.mu{{ api.r.getRequestUri()|raw }}"]hình ảnh[/url] từ [url="http://sharecode.wap.mu/galery.php?ref=view_photo"]album ảnh[/url][br/][scimg]http://sharecode.wap.mu/{{photo_url|replace({'type=1':'type=2','amp;':''})|raw}}[/scimg][br/]{{user_nick|raw}}: {{photo_comment|striptags|raw}}'/>
<input type="submit" value="Chia sẻ ảnh này" style="background:none;border:none;margin:0;padding:0;box-shadow:none;text-shadow:none;cursor:pointer;color:#ff0000"/>
</form>
Copy code
CHÚ Ý: nhớ thay uid trong code thành uid shoutbox trang chủ, thay tên miền thành tên miền wap bạn