Chia sẻ thông tin

KenjiVN - Quốc Trưởng

Search This Blog

Trưởng Nguyễn 's Blog

Chia sẻ kinh nghiệm, cung cấp những thông tin mới nhất về làng công nghệ. Chia sẻ những thủ thuật, những kiến thức hữu ích về công nghệ thông tin và truyền thông.

Trưởng Nguyễn 's Blog

Chia sẻ kinh nghiệm, cung cấp những thông tin mới nhất về làng công nghệ. Chia sẻ những thủ thuật, những kiến thức hữu ích về công nghệ thông tin và truyền thông.

Trưởng Nguyễn 's Blog

Chia sẻ kinh nghiệm, cung cấp những thông tin mới nhất về làng công nghệ. Chia sẻ những thủ thuật, những kiến thức hữu ích về công nghệ thông tin và truyền thông.

Trưởng Nguyễn 's Blog

Chia sẻ kinh nghiệm, cung cấp những thông tin mới nhất về làng công nghệ. Chia sẻ những thủ thuật, những kiến thức hữu ích về công nghệ thông tin và truyền thông.

Trưởng Nguyễn 's Blog

Chia sẻ kinh nghiệm, cung cấp những thông tin mới nhất về làng công nghệ. Chia sẻ những thủ thuật, những kiến thức hữu ích về công nghệ thông tin và truyền thông.

Saturday, June 9, 2012

Tạo bảng thông báo bằng html đơn giản

demo:





code:


<style type="text/css">
.div_table{background:transparent;margin:0px auto;}
.news_right{background:url(http://i.imgur.com/0Pos7.jpg) repeat-y;margin-left:330px;padding:5px;text-align:left;height:370px}
.news_left{padding:10px;float:left;text-align:center}
.notice{margin-left:50px;font-size:12px;margin-top:10px;margin-bottom:10px}
.news_thead_inside{margin-left:40px;text-align:center;color:#ffffff;background:#398622;font-weight:bold;padding:2px 0 2px 0}
.author{color:#9F9F9F}.notice a:link,.notice a:visited,.notice a{color:#ffffff;background:transparent;text-decoration:none;font-weight:bold}
.notice a:active,.notice a:hover{color:#78889C;background:transparent;text-decoration:none;font-weight:bold}
</style>
<div class="div_table" style="width: 100%;">
<div class="news_left">




<a href="http://buidoi.net/threads/8000-Bo-suu-tap-anh-dau-lau-by-Le-Ti.html"><img src="http://i.imgur.com/I28F3.jpg" width="310" height="310"></a>
<br>










<div style="width:315px; text-align: center;"></div>
</div>
<div class="news_right">
<div class="news_thead_inside">THÔNG BÁO MỚI NHẤT TỪ BUIDOI.NET</div>
<div class="notice">
• <a href="announcement.php?f=2&a=2" target="_blank"><font color="red" size="3">Nội quy diễn đàn BuiDoi.Net</font></a><br>
• <a href="http://buidoi.net/threads/7581-Box-dich-vu-se-chuyen-qua-forum-rao-vat-RaoVat-BuiDoi-Net.html" target="_blank"><font color="red" size="3">Box dịch vụ sẽ chuyển qua forum rao vặt RaoVat.BuiDoi.Net</font></a><br>
• <a href="http://buidoi.net/threads/4493-Noi-Quy-Cac-topic-hoi-dap-tren-forum-BuiDoi-Net.html" target="_blank"><font color="red" size="3">[Nội Quy] Các topic hỏi đáp trên forum BuiDoi.Net</font></a><br>
• <a href="announcement.php?f=2&a=3" target="_blank"><font color="red" size="3">Thành viên hãy đọc rõ quy định trước khi post bài, tránh trường hợp bài bị xóa và ban nick</font></a><br>
• <a href="http://buidoi.net/threads/3694-TeamViewer-viet-hoa-100-Cong-cu-ho-tro-dieu-khien-may-tinh-tu-xa.html" target="_blank"><font color="green" size="3">TeamViewer việt hoá 100%</font></a> <br>
• <a href="http://buidoi.net/threads/1337-Tong-hop-Fix-style-mobile-vbb4-by-BuiDoi-Net.html"><font color="green" size="3"><b>[Tổng hợp] Fix style mobile vbb4 by BuiDoi.Net</b></font></a> <br>
• <a href="http://buidoi.net/threads/1532-Huong-dan-Tu-dong-backup-database-website-dien-dan-voi-Mysqldumper-PHP.html" target="_blank"><font color="green" size="3">Hướng dẫn - Tự động backup database website/diễn đàn với Mysqldumper (PHP)</font></a> <br>


</div>
<div class="news_thead_inside">LIÊN HỆ - QUẢNG CÁO</div>
<div class="notice">
<center><font color="red" size="3"><b>Hỗ Trợ Diễn Đàn</b></font> ♥ <font color="Gray" size="3"><b>Hỗ Trợ Thành Viên</b></font> ♥ <font color="green" size="3"><b>Hỗ Trợ Pé Gái</b></font><br>




&nbsp;&nbsp;<a href="ymsgr:sendim?n0_l0ve_0ne"><img src="http://opi.yahoo.com/online?u=n0_l0ve_0ne&amp;m=g&amp;t=2" border="0"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="purple" size="3"><b>Phone: 0976.390.323</b></font>


<br>
<object width="300" height="61"><param name="movie" value="http://static.mp3.zing.vn/skins/mp3_main/flash/player/mp3Player_skin1.swf?xmlurl=http://mp3.zing.vn/blog?MjAxMi8wNS8wNS9iLzQvInagaMEYjQ5ODmUsIC4ZWRhNW JkMjk4MDE0NzE5NjYzNDmUsICwNGZmMzMdUngWeBXAzfFRow7R pIENow6BvInagaMEIEVcUIbaBfFRoZSBOaWdodCBGdCBTRyBUZ XJyeSBGdCBC4WeBq9WeBiBUZXJyeXx8NQ" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><embed width="300" height="61" src="http://static.mp3.zing.vn/skins/mp3_main/flash/player/mp3Player_skin1.swf?xmlurl=http://mp3.zing.vn/blog?MjAxMi8wNS8wNS9iLzQvInagaMEYjQ5ODmUsIC4ZWRhNW JkMjk4MDE0NzE5NjYzNDmUsICwNGZmMzMdUngWeBXAzfFRow7R pIENow6BvInagaMEIEVcUIbaBfFRoZSBOaWdodCBGdCBTRyBUZ XJyeSBGdCBC4WeBq9WeBiBUZXJyeXx8NQ" quality="high" wmode="transparent" type="application/x-shockwave-flash"></embed></object><br /></center>
</div>
</div>


</div>
share cho vui thui, xấu đừng chê nhé
rip lại của người ta thui mà

Tự động chèn header và footer bằng .htaccess

B1. Tạo 2 file header.html và footer.html ngang hàng index
B2. Thêm đoạn code sau vào .htaccess:

Code:
php_value auto_prepend_file"header.html"
php_value auto_append_file"footer.html"
B3. Thêm nội dung vào 2 file đã tạo

Done :)

Tut Local Căn bản

http://www.mediafire.com/?ajk00uzwb9sac5d

Như lờ đã hứa với anh em làm tut local căn bản | không hide nhé
cấm dell shell trong video nhá.
 
Leech NUG :D 

Thursday, June 7, 2012

TuT đâm domain Tucows 1yr ko cần cc

1. Đăng Ký 1 Tài Khoản Tại :
http://goo.gl/e6vKi
2. Sau Khi Đăng Ký Ở Trên Thì
Vào Trang này :
http://intuit.black4rt.us/
Bypass :
User: black4rt.us
Pass: black4rt.us
3. Login vs ID và Pass Ở Bước 1
Rồi Vào Reg Domain Như Bạn
Đang Order ( IP = VN nhá )
Demo Reg : http://who.is/whois/fakemanx.net
Domain Active Trong Vòng
12-24h Và Có Thể Đổi DNS Hay
namesever Trong VÒng 48h

Monday, June 4, 2012

Các mã PHP và ứng dụng thực tế của hiệu ứng

1. Cấm quyền




Code:
<body oncontextmenu=return(false)>


2. Vô hiệu hoá lựa chọn



Code:
<body onselectstart="return false">


3. Nghiêm cấm dán



Code:
<body onpaste="return false">


4. Cấm truy cập trực tiếp



Code:
<script>
if (top == self)top.location.href = "page.htm";
</script>


Trong đó page.htm là trang bạn muốn cấm truy cập trực tiếp
5. Cấm tham chiếu khung



Code:
<script>
if (top != self)top.location.href = "page.htm";
</script>


6. Vô hiệu hoá chức năng các phím Shift, Alt, Ctrl



Code:
<script>function key(){
if(event.shiftKey) alert("Shift không được phép dùng !");} document.onkeydown=key; </script>


Làm tương tự với Ctr và Alt
7. Giới hạn độ phân giải



Code:
<script?document.write("Chiều rộng"+screen.Width+"Chiều cao"+screen.Height)</script>


8. Để có được thanh địa chỉ



Code:
<script>document.write(self.location)</script>


9. Để có được thanh địa chỉ sau khi đối số

Code:
<SCRIPT>var add = top.location;
add = add.toString();
document.write (add.substring(add.indexOf("?")+1,add.length));
</SCRIPT>