code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
#ifndef _ADC_H_ #define _ADC_H_ #define MAX_SAMPLES 640 // 320 * 2 channels #define kSCALE 6.2 #define SCALE_10mV (long)(kSCALE / 0.01) #define SCALE_20mV (long)(kSCALE / 0.02) #define SCALE_50mV (long)(kSCALE / 0.05) #define SCALE_100mV (long)(kSCALE / 0.1) #define SCALE_200mV (long)(kSCALE / 0.2) #define SCALE_500mV (long)(kSCALE / 0.5) #define SCALE_1V (long)(kSCALE / 1.0) #define SCALE_2V (long)(kSCALE / 2.0) #define SCALE_GND (long)(0) extern volatile unsigned int adc_value_1; extern volatile unsigned int adc_value_2; extern volatile unsigned int raw_data[MAX_SAMPLES]; extern const long VOLT_PER_DIV[]; extern void adc_init(void); extern void aux_pll_init(void); extern void store_raw_data(void); extern unsigned int get_total_samples(void); #endif // end _ADC_H_
116str-blueosci
RemoteDevice/dsPIC Bluetooth Oscilloscope/adc.h
C
asf20
819
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Mua bán doanh nghiệp</title> <?php include('../widgets/js_css.php'); ?> </head> <body> <div class="outer"> <?php include('../widgets/banner.php'); include('../widgets/top_menu.php'); ?> <div class="left"> <?php include('../widgets/co_hoi.php'); include('../widgets/tim_kiem_co_hoi_khac.php'); include('../widgets/cac_chuyen_muc_hay.php'); include('../widgets/quang_cao.php'); include('../widgets/tim_kiem.php'); ?> </div> <div class="center"> <div class="start"> <marquee width="100%" scrollamount="5"> SÀN GIAO DỊCH MUA BÁN DOANH NGHIỆP&nbsp;&nbsp;---&nbsp;&nbsp;TÌM KIẾM NGUỒN ĐẦU TƯ, TÍN DỤNG&nbsp;&nbsp;&nbsp;---&nbsp;&nbsp;CƠ HỘI ĐẦU TƯ&nbsp;&nbsp;--- TIN TỨC KINH TẾ CẬP NHẬT --- &nbsp;&nbsp;THUÊ VÀ CHO THUÊ </marquee> </div> <div class="catogory"> <div class="title_catogory"><b>TIN TỨC KINH TẾ</b></div> <div class="article"> <div class="title_article"><a href="#">Thị trường BĐS: Cuối năm 2013 may ra mới ấm trở lại</a> <span style="color: #AB96DE">(27/10/2012)</span></div> <div class="content_article"> <div class="hinh"><img src="../upload/images/291_2T.jpg" /></div> <div class="text">Nhìn nhận về triển vọng của thị trường bất động sản năm 2013, nhiều chuyên gia đánh giá với tình hình thực tế hiện nay khả năng thị trường phục hồi trong ngắn hạn là rất khó. </div> </div> </div> <div class="tin_cung_loai"> <ul> <li><a href="#">Vàng thế giới đi xuống, vàng trong nước vẫn tăng</a></li> <li><a href="#">Vàng miếng trong nước lại tăng giá nhanh</a></li> </ul> </div> <div class="phan_cach"> <hr /> <a href="#">Các bài viết khác</a> </div> </div> <div class="catogory"> <div class="title_catogory"><b>CHỨNG KHOÁN</b></div> <div class="article"> <div class="title_article"><a href="#">Tiền đổ vào thị trường chứng khoán mới nổi ngày càng mạnh</a> <span style="color: #AB96DE">(25/10/2012)</span></div> <div class="content_article"> <div class="hinh"><img src="../upload/images/173_2T.jpg" /></div> <div class="text">Tuần qua là tuần thứ 7 liên tiếp, dòng vốn đầu tư chảy vào các thị trường chứng khoán mới nổi. </div> </div> </div> <div class="tin_cung_loai"> <ul> <li><a href="#">Hai sàn lại đóng cửa trái chiều, SHB và SCR giao dịch đột biến</a></li> <li><a href="#">Bluechips đồng loạt giảm, HNX-index giảm 1,2%</a></li> </ul> </div> <div class="phan_cach"> <hr /> <a href="#">Các bài viết khác</a> </div> </div> </div> <div class="right"> <?php include('../widgets/dang_ky.php'); include('../widgets/thue_cho_thue.php'); include('../widgets/tin_tuc_IDJ.php'); include('../widgets/doi_tac.php'); ?> </div> <?php include('../widgets/footer.php'); ?> </div> </body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/trang_chu/index.php
PHP
gpl3
4,345
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Mua bán doanh nghiệp</title> <?php include('../widgets/js_css.php'); ?> </head> <body> <div class="outer"> <?php include('../widgets/banner.php'); include('../widgets/top_menu.php'); ?> <div class="left"> <?php include('../widgets/co_hoi.php'); include('../widgets/tim_kiem_co_hoi_khac.php'); include('../widgets/cac_chuyen_muc_hay.php'); include('../widgets/quang_cao.php'); include('../widgets/tim_kiem.php'); ?> </div> <div class="center"> <br /> <div class="title_catogory"><b>ĐĂNG KÝ BÁN DOANH NGHIỆP, DỰ ÁN THÔNG QUA IDJ</b></div> <div style="padding: 5px;"> <p>Cảm ơn quý khách đã ghé thăm website của chúng tôi. Rất mong quý khách điền các thông tin sau <b>Chính xác và đầy đủ</b> để chúng tôi có thể liên hệ lại với Quý khách một cách sớm nhất. </p> <p>Muốn biết nhiều hơn về các dịch vụ của IDJ, xin vui lòng liên hệ trực tiếp với IDJ.<br> <p><span style="color:red">Chú ý</span>: Mọi thông tin quý khách đăng ký được IDJ bảo mật và không công khai tên, địa chỉ cho đối tác đầu tư</p> </p> </div> <div> <h2><b>Bạn đã đăng kí thành công</b></h2> </div> <?php require_once '../DTO/KHACHHANG_DTO.php'; require_once '../DTO/DOANHNGHIEP_DTO.php'; require_once '../classes/xl_khach_hang.php'; require_once '../classes/xl_doanh_nghiep.php'; $kh = new KHACHHANG_DTO(); $xl_kh = new xl_khach_hang(); $dn = new DOANHNGHIEP_DTO(); $xl_dn = new xl_doanh_nghiep(); // thông tin khách hàng $kh->ho_ten = $_POST["dk_hoten"]; $kh->chuc_vu = $_POST["dk_chucvu"]; $kh->dien_thoai = $_POST["dk_mobile"]; $kh->email = $_POST["dk_email"]; //thông tin doanh nghiệp $dn->ten_dn = $_POST['dk_tencty']; $dn->dia_chi = $_POST['dk_diachi']; $dn->dien_thoai = $_POST['dk_dienthoai']; $dn->email = $_POST['dk_email']; $dn->website = $_POST['dk_website']; $dn->ten_giam_doc = $_POST['dk_giamdoc']; $dn->ma_so_thue = $_POST['dk_masothue']; $dn->gioi_thieu = $_POST['dk_ttatdan']; $xl_kh->them_giaodien($kh); $xl_dn->them($dn); //echo $dn->website; ?> </div> <div class="right"> <?php include('../widgets/dang_ky.php'); include('../widgets/thue_cho_thue.php'); include('../widgets/tin_tuc_IDJ.php'); include('../widgets/doi_tac.php'); ?> </div> <?php include('../widgets/footer.php'); ?> </div> <script type="text/javascript"> function dang_ky(){ if($('#dk_hoten').val() == ''){ confirm('Bạn chưa nhập đầy đủ thông tin!!!'); }else if ($('#rule_ok').is('checked') == false) { confirm('Đồng ý với Quy chế sử dụng và Chính sách bảo mật của website!!!'); } } </script> </body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/dang_ky/form_dangky_muadoanhnghiepngoaimuc.php
PHP
gpl3
3,612
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Mua bán doanh nghiệp</title> <?php include('../widgets/js_css.php'); ?> </head> <body> <div class="outer"> <?php include('../widgets/banner.php'); include('../widgets/top_menu.php'); ?> <div class="left"> <?php include('../widgets/co_hoi.php'); include('../widgets/tim_kiem_co_hoi_khac.php'); include('../widgets/cac_chuyen_muc_hay.php'); include('../widgets/quang_cao.php'); include('../widgets/tim_kiem.php'); ?> </div> <div class="center"> <br /> <div class="title_catogory"><b>ĐĂNG KÝ TÌM NHÀ ĐẦU TƯ</b></div> <div style="padding: 5px;"> <p>Cảm ơn quý khách đã ghé thăm website của chúng tôi. Rất mong quý khách điền các thông tin sau <b>Chính xác và đầy đủ</b> để chúng tôi có thể liên hệ lại với Quý khách một cách sớm nhất. </p> <p>Muốn biết nhiều hơn về các dịch vụ của IDJ, xin vui lòng liên hệ trực tiếp với IDJ.<br> <p><span style="color:red">Chú ý</span>: Mọi thông tin quý khách đăng ký được IDJ bảo mật và không công khai tên, địa chỉ cho đối tác đầu tư</p> </p> </div> <form action="form_dangky_timnhadautu.php" method="POST"> <fieldset style="margin: 15px 5px 5px 5px;"> <legend class="tieudeform"><h3>I. Thông tin về người đăng ký</h3></legend> <table width="100%" cellspacing="1" cellpadding="1"> <tbody> <tr class="normal_font"> <td> <div align="right">1.</div> </td> <td>Họ và tên (*)</td> <td>:</td> <td><input type="text" size="75" id="dk_hoten" class="rg_textbox" name="dk_hoten"></td> </tr> <tr class="normal_font"> <td width="3%"> <div align="right">2.</div> </td> <td width="25%">Chức vụ</td> <td width="2%">:</td> <td width="70%"><input type="text" size="75" id="dk_chucvu" class="rg_textbox" name="dk_chucvu"> </td> </tr> <tr class="normal_font"> <td> <div align="right">3.</div> </td> <td>Mobile (*)</td> <td>:</td> <td><input type="text" size="75" id="dk_mobile" class="rg_textbox" name="dk_mobile"></td> </tr> <tr class="normal_font"> <td> <div align="right">4.</div> </td> <td>Email (*)</td> <td>:</td> <td><input type="text" size="75" id="dk_email" class="rg_textbox" name="dk_email"></td> </tr> <tr> <td colspan="2">&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </tbody> </table> </fieldset> <fieldset style="margin: 15px 5px 5px 5px;"> <legend class="tieudeform"><h3>II. Thông tin chung về doanh nghiệp</h3></legend> <table width="100%" cellspacing="1" cellpadding="1" class="normal_font"> <tbody> <tr> <td width="3%"> <div align="right">1.</div> </td> <td width="25%">Tên công ty (tiếng Việt) (*)</td> <td>:</td> <td width="70%"><input type="text" size="75" id="dk_tencty" class="rg_textbox" name="dk_tencty"> </td> </tr> <tr> <td> <div align="right">2.</div> </td> <td>Địa chỉ (*)</td> <td>:</td> <td><input type="text" size="75" id="dk_diachi" class="rg_textbox" name="dk_diachi"></td> </tr> <tr> <td>&nbsp;</td> <td> Điện thoại (*)</td> <td>:</td> <td> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="normal_font"> <tbody> <tr> <td width="43%"><input type="text" size="28" id="dk_dienthoai" class="rg_textbox" name="dk_dienthoai"></td> <td width="13%">Fax:</td> <td width="44%"><input type="text" size="28" id="dk_fax" class="rg_textbox" name="dk_fax"></td> </tr> </tbody> </table> </td> </tr> <tr> <td>&nbsp;</td> <td> Email</td> <td>:</td> <td> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="normal_font"> <tbody> <tr> <td width="43%"><input type="text" size="28" id="dk_email2" class="rg_textbox" name="dk_email2"></td> <td width="13%">Website:</td> <td width="44%"><input type="text" size="28" id="dk_website" class="rg_textbox" name="dk_website"></td> </tr> </tbody> </table> </td> </tr> <tr class="normal_font"> <td valign="top"> <div align="right">3.</div> </td> <td valign="top">Họ và tên Giám đốc</td> <td valign="top">:</td> <td><input type="text" size="75" id="dk_giamdoc" class="rg_textbox" name="dk_giamdoc"></td> </tr> <tr class="normal_font"> <td valign="top"> <div align="right">4.</div> </td> <td valign="top">Mã số thuế</td> <td valign="top">:</td> <td><input type="text" size="28" id="dk_masothue" class="rg_textbox" name="dk_masothue"></td> </tr> <tr class="normal_font"> <td valign="top"> <div align="right">5.</div> </td> <td valign="top">Quý khách có thể giới thiệu đôi chút về cá nhân và tổ chức của mình, tiềm năng đầu tư, lĩnh vực đang kinh doanh, kinh nghiệm đầu tư</td> <td valign="top">:</td> <td><textarea id="dk_ttatdan" class="rg_textarea" rows="5" cols="30" name="dk_ttatdan" style="width:400px"></textarea></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </tbody> </table> </fieldset > <fieldset style="margin: 15px 5px 5px 5px;"> <legend class="tieudeform"><h3>III. Tình trạng về doanh nghiệp, dự án</h3></legend> <table width="100%" cellspacing="1" cellpadding="1" class="normal_font"> <tbody> <tr> <td> <div align="right">1.</div> </td> <td>Đã được cấp phép</td> <td>:</td> <td width="70%"> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="normal_font"> <tbody> <tr> <td width="10%"><input type="checkbox" value="1" id="dk_kd" class="rg_checkbox" name="dk_kd"></td> <td width="35%">Ngày được cấp phép:</td> <td width="49%"><input type="text" size="28" id="dk_ngayd" class="rg_textbox" name="dk_ngayd"></td> </tr> </tbody> </table> </td> </tr> <tr> <td width="3%"> <div align="right">2.</div> </td> <td width="25%">Đang chờ cấp phép</td> <td width="2%">:</td> <td > <table width="100%" cellspacing="0" cellpadding="0" border="0" class="normal_font"> <tbody> <tr> <td width="10%"><input type="checkbox" value="1" id="dk_dkd" class="rg_checkbox" name="dk_dkd"></td> <td width="41%">Thời gian dự kiến được cấp phép:</td> <td width="49%"><input type="text" size="28" id="dk_ngayd" class="rg_textbox" name="dk_ngayd"></td> </tr> </tbody> </table> </td> </tr> <td>&nbsp;</td> <tr> <td valign="top"> <div align="right">3.</div> </td> <td valign="top">Giới thiệu tóm tắt về dự án muốn vay vốn</td> <td>:</td> <td><textarea id="dk_lydo" class="rg_textarea" rows="5" cols="30" name="dk_lydo" style="width:400px"></textarea></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </tbody> </table> </fieldset> <fieldset style="margin: 15px 5px 5px 5px;"> <legend class="tieudeform"><h3>IV.Thông tin huy động vốn</h3></legend> <table width="100%" cellspacing="0" cellpadding="0" class=normal_font> <tr> <td valign="top"><div align="right">1.</div></td> <td valign="top">Số vốn cần huy động </td> <td>:</td> <td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="normal_font"> <tr> <td width="auto"><input name="dk_vonvay" type="text" class="rg_textbox" id="dk_vonvay" size="28" /></td> <td width="auto">Thời hạn:</td> <td width="auto"><input name="dk_thoihan" type="text" class="rg_textbox" id="dk_thoihan" size="28" /></td> </tr> </table></td> </tr> </table> </fieldset> <fieldset style="margin: 15px 5px 5px 5px;"> <legend class="tieudeform"><h3>V.Yêu cầu về giao dịch</h3></legend> <table width="100%" cellspacing="1" cellpadding="1" class=normal_font> <!-- <tr> <td width="3%"><div align="right">1.</div></td> <td width="25%">Ủy quyền cho IDJ </td> <td width="2%">:</td> <td><table width="100%" border="0" cellpadding="0" cellspacing="0" class=normal_font> <tr> <td width="13%"><input name="dk_idj" type="checkbox" class=rg_checkbox id="dk_idj" value="1"></td> <td width="49%">Giao dịch trực tiếp với khách hàng :</td> <td width="38%"><input name="dk_kh" type="checkbox" class=rg_checkbox id="dk_kh" value="1" /></td> </tr> </table></td> </tr> --> <tr> <td valign="top"><div align="right">1.</div></td> <td colspan="3" valign="top">Các hình thức khác doanh nghiệp có thể hợp tác </td> </tr> <tr> <td valign="top">&nbsp;</td> <td colspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="normal_font"> <tr> <td width="auto">Kêu gọi liên doanh: <input name="dk_goild" type="checkbox" class="rg_checkbox" id="dk_goild" value="1" /></td> <td width="auto">Bán một phần cổ phần DN: <input name="dk_bannua" type="checkbox" class="rg_checkbox" id="dk_bannua" value="1" /></td> <td width="auto">Bán toàn bộ DN: <input name="dk_banhet" type="checkbox" class="rg_checkbox" id="dk_banhet" value="1" /></td> </tr> </table></td> </tr> <td>&nbsp;</td> <tr> <td valign="top"><div align="right">2.</div></td> <td valign="top">Các yêu cầu khác mà doanh nghiệp muốn thông báo thêm cho IDJ</td> <td valign="top">:</td> <td><textarea style="width:400px" name="dk_yeucau" cols="30" rows="5" class=rg_textarea id="dk_yeucau"></textarea></td> </tr> <tr> <td colspan="4"><span class="style3" style="color:red; ">Chú ý</span><span class="style_dk">:</span> Bạn hãy nhập đầy đủ thông tin tại các mục.</td> </tr> </table> </fieldset> <table width="100%" cellspacing="1" cellpadding="1" class="normal_font"> <tbody> <tr> <td><input type="checkbox" value="1" id="rule_ok" class="rg_checkbox" name="rule_ok"> Tôi đã đọc và đồng ý với <a target="_blank" href="index.php?frame=quyche" style="color:#0000FF">Quy chế sử dụng</a> và <a target="_blank" href="index.php?frame=baomat" style="color:#0000FF">Chính sách bảo mật</a> của website </td> </tr> <tr> <td> <p align="center"> <input type="submit" style="width:60" value="Gửi" class="button" name="submit" onclick="dang_ky()"/> <input type="reset" style="width:60" value="Nhập lại" class="button" name="reset"/> <input type="hidden" value="true" id="check_send" name="check_send"/> <input type="hidden" value="dk1" id="frame" name="frame"/> </p> </td> </tr> </tbody> </table> </form> </div> <div class="right"> <?php include('../widgets/dang_ky.php'); include('../widgets/thue_cho_thue.php'); include('../widgets/tin_tuc_IDJ.php'); include('../widgets/doi_tac.php'); ?> </div> <?php include('../widgets/footer.php'); ?> </div> <script type="text/javascript"> function dang_ky(){ if($('#dk_hoten').val() == ''){ confirm('Bạn chưa nhập đầy đủ thông tin!!!'); }else if ($('#rule_ok').is('checked') == false) { confirm('Đồng ý với Quy chế sử dụng và Chính sách bảo mật của website!!!'); } } </script> </body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/dang_ky/DK_tim_nha_dau_tu.php
PHP
gpl3
15,579
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Mua bán doanh nghiệp</title> <?php include('../widgets/js_css.php'); ?> </head> <body> <div class="outer"> <?php include('../widgets/banner.php'); include('../widgets/top_menu.php'); ?> <div class="left"> <?php include('../widgets/co_hoi.php'); include('../widgets/tim_kiem_co_hoi_khac.php'); include('../widgets/cac_chuyen_muc_hay.php'); include('../widgets/quang_cao.php'); include('../widgets/tim_kiem.php'); ?> </div> <div class="center"> <br /> <div class="title_catogory"><b>ĐĂNG KÝ BÁN DOANH NGHIỆP, DỰ ÁN THÔNG QUA IDJ</b></div> <div style="padding: 5px;"> <p>Cảm ơn quý khách đã ghé thăm website của chúng tôi. Rất mong quý khách điền các thông tin sau <b>Chính xác và đầy đủ</b> để chúng tôi có thể liên hệ lại với Quý khách một cách sớm nhất. </p> <p>Muốn biết nhiều hơn về các dịch vụ của IDJ, xin vui lòng liên hệ trực tiếp với IDJ.<br> <p><span style="color:red">Chú ý</span>: Mọi thông tin quý khách đăng ký được IDJ bảo mật và không công khai tên, địa chỉ cho đối tác đầu tư</p> </p> </div> <div> <h2><b>Bạn đã đăng kí thành công</b></h2> </div> <?php require_once '../DTO/KHACHHANG_DTO.php'; require_once '../DTO/DOANHNGHIEP_DTO.php'; require_once '../classes/xl_khach_hang.php'; require_once '../classes/xl_doanh_nghiep.php'; $kh = new KHACHHANG_DTO(); $xl_kh = new xl_khach_hang(); $dn = new DOANHNGHIEP_DTO(); $xl_dn = new xl_doanh_nghiep(); // thông tin khách hàng $kh->ho_ten = $_POST["dk_hoten"]; $kh->chuc_vu = $_POST["dk_chucvu"]; $kh->dien_thoai = $_POST["dk_mobile"]; $kh->email = $_POST["dk_email"]; //thông tin doanh nghiệp $dn->ten_dn = $_POST['dk_tencty']; $dn->dia_chi = $_POST['dk_diachi']; $dn->dien_thoai = $_POST['dk_dienthoai']; $dn->email = $_POST['dk_email']; $dn->website = $_POST['dk_website']; $dn->ten_giam_doc = $_POST['dk_giamdoc']; $dn->ma_so_thue = $_POST['dk_masothue']; $dn->gioi_thieu = $_POST['dk_ttatdan']; $xl_kh->them_giaodien($kh); $xl_dn->them($dn); //echo $dn->website; ?> </div> <div class="right"> <?php include('../widgets/dang_ky.php'); include('../widgets/thue_cho_thue.php'); include('../widgets/tin_tuc_IDJ.php'); include('../widgets/doi_tac.php'); ?> </div> <?php include('../widgets/footer.php'); ?> </div> <script type="text/javascript"> function dang_ky(){ if($('#dk_hoten').val() == ''){ confirm('Bạn chưa nhập đầy đủ thông tin!!!'); }else if ($('#rule_ok').is('checked') == false) { confirm('Đồng ý với Quy chế sử dụng và Chính sách bảo mật của website!!!'); } } </script> </body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/dang_ky/form_dangky_timnhadautu.php
PHP
gpl3
3,612
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Mua bán doanh nghiệp</title> <?php include('../widgets/js_css.php'); ?> </head> <body> <div class="outer"> <?php include('../widgets/banner.php'); include('../widgets/top_menu.php'); ?> <div class="left"> <?php include('../widgets/co_hoi.php'); include('../widgets/tim_kiem_co_hoi_khac.php'); include('../widgets/cac_chuyen_muc_hay.php'); include('../widgets/quang_cao.php'); include('../widgets/tim_kiem.php'); ?> </div> <div class="center"> <br /> <div class="title_catogory"><b>ĐĂNG KÝ BÁN DOANH NGHIỆP, DỰ ÁN THÔNG QUA IDJ</b></div> <div style="padding: 5px;"> <p>Cảm ơn quý khách đã ghé thăm website của chúng tôi. Rất mong quý khách điền các thông tin sau <b>Chính xác và đầy đủ</b> để chúng tôi có thể liên hệ lại với Quý khách một cách sớm nhất. </p> <p>Muốn biết nhiều hơn về các dịch vụ của IDJ, xin vui lòng liên hệ trực tiếp với IDJ.<br> <p><span style="color:red">Chú ý</span>: Mọi thông tin quý khách đăng ký được IDJ bảo mật và không công khai tên, địa chỉ cho đối tác đầu tư</p> </p> </div> <div> <h2><b>Bạn đã đăng kí thành công</b></h2> </div> <?php require_once '../DTO/KHACHHANG_DTO.php'; require_once '../DTO/DOANHNGHIEP_DTO.php'; require_once '../classes/xl_khach_hang.php'; require_once '../classes/xl_doanh_nghiep.php'; $kh = new KHACHHANG_DTO(); $xl_kh = new xl_khach_hang(); $dn = new DOANHNGHIEP_DTO(); $xl_dn = new xl_doanh_nghiep(); // thông tin khách hàng $kh->ho_ten = $_POST["dk_hoten"]; $kh->chuc_vu = $_POST["dk_chucvu"]; $kh->dien_thoai = $_POST["dk_mobile"]; $kh->email = $_POST["dk_email"]; //thông tin doanh nghiệp $dn->ten_dn = $_POST['dk_tencty']; $dn->dia_chi = $_POST['dk_diachi']; $dn->dien_thoai = $_POST['dk_dienthoai']; $dn->email = $_POST['dk_email']; $dn->website = $_POST['dk_website']; $dn->ten_giam_doc = $_POST['dk_giamdoc']; $dn->ma_so_thue = $_POST['dk_masothue']; $dn->gioi_thieu = $_POST['dk_ttatdan']; $xl_kh->them_giaodien($kh); $xl_dn->them($dn); //echo $dn->website; ?> </div> <div class="right"> <?php include('../widgets/dang_ky.php'); include('../widgets/thue_cho_thue.php'); include('../widgets/tin_tuc_IDJ.php'); include('../widgets/doi_tac.php'); ?> </div> <?php include('../widgets/footer.php'); ?> </div> <script type="text/javascript"> function dang_ky(){ if($('#dk_hoten').val() == ''){ confirm('Bạn chưa nhập đầy đủ thông tin!!!'); }else if ($('#rule_ok').is('checked') == false) { confirm('Đồng ý với Quy chế sử dụng và Chính sách bảo mật của website!!!'); } } </script> </body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/dang_ky/form_dangky_timdoitac.php
PHP
gpl3
3,612
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Mua bán doanh nghiệp</title> <?php include('../widgets/js_css.php'); ?> </head> <body> <div class="outer"> <?php include('../widgets/banner.php'); include('../widgets/top_menu.php'); ?> <div class="left"> <?php include('../widgets/co_hoi.php'); include('../widgets/tim_kiem_co_hoi_khac.php'); include('../widgets/cac_chuyen_muc_hay.php'); include('../widgets/quang_cao.php'); include('../widgets/tim_kiem.php'); ?> </div> <div class="center"> <br /> <div class="title_catogory"><b>ĐĂNG KÝ BÁN DOANH NGHIỆP, DỰ ÁN THÔNG QUA IDJ</b></div> <div style="padding: 5px;"> <p>Cảm ơn quý khách đã ghé thăm website của chúng tôi. Rất mong quý khách điền các thông tin sau <b>Chính xác và đầy đủ</b> để chúng tôi có thể liên hệ lại với Quý khách một cách sớm nhất. </p> <p>Muốn biết nhiều hơn về các dịch vụ của IDJ, xin vui lòng liên hệ trực tiếp với IDJ.<br> <p><span style="color:red">Chú ý</span>: Mọi thông tin quý khách đăng ký được IDJ bảo mật và không công khai tên, địa chỉ cho đối tác đầu tư</p> </p> </div> <div> <h2><b>Bạn đã đăng kí thành công</b></h2> </div> <?php require_once '../DTO/KHACHHANG_DTO.php'; require_once '../DTO/DOANHNGHIEP_DTO.php'; require_once '../classes/xl_khach_hang.php'; require_once '../classes/xl_doanh_nghiep.php'; $kh = new KHACHHANG_DTO(); $xl_kh = new xl_khach_hang(); $dn = new DOANHNGHIEP_DTO(); $xl_dn = new xl_doanh_nghiep(); // thông tin khách hàng $kh->ho_ten = $_POST["dk_hoten"]; $kh->chuc_vu = $_POST["dk_chucvu"]; $kh->dien_thoai = $_POST["dk_mobile"]; $kh->email = $_POST["dk_email"]; //thông tin doanh nghiệp $dn->ten_dn = $_POST['dk_tencty']; $dn->dia_chi = $_POST['dk_diachi']; $dn->dien_thoai = $_POST['dk_dienthoai']; $dn->email = $_POST['dk_email']; $dn->website = $_POST['dk_website']; $dn->ten_giam_doc = $_POST['dk_giamdoc']; $dn->ma_so_thue = $_POST['dk_masothue']; $dn->gioi_thieu = $_POST['dk_ttatdan']; $xl_kh->them_giaodien($kh); $xl_dn->them($dn); //echo $dn->website; ?> </div> <div class="right"> <?php include('../widgets/dang_ky.php'); include('../widgets/thue_cho_thue.php'); include('../widgets/tin_tuc_IDJ.php'); include('../widgets/doi_tac.php'); ?> </div> <?php include('../widgets/footer.php'); ?> </div> <script type="text/javascript"> function dang_ky(){ if($('#dk_hoten').val() == ''){ confirm('Bạn chưa nhập đầy đủ thông tin!!!'); }else if ($('#rule_ok').is('checked') == false) { confirm('Đồng ý với Quy chế sử dụng và Chính sách bảo mật của website!!!'); } } </script> </body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/dang_ky/form_dangky_dautungoaidanhmuc.php
PHP
gpl3
3,612
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Mua bán doanh nghiệp</title> <?php include('../widgets/js_css.php'); ?> </head> <body> <div class="outer"> <?php include('../widgets/banner.php'); include('../widgets/top_menu.php'); ?> <div class="left"> <?php include('../widgets/co_hoi.php'); include('../widgets/tim_kiem_co_hoi_khac.php'); include('../widgets/cac_chuyen_muc_hay.php'); include('../widgets/quang_cao.php'); include('../widgets/tim_kiem.php'); ?> </div> <div class="center"> <br /> <div class="title_catogory"><b>ĐĂNG KÝ CHO THUÊ TÀI SẢN</b></div> <div style="padding: 5px;"> <p>Quý khách có thể điền thông tin vào đơn đăng ký dưới đây với những yêu cầu riêng của mình để chúng tôi có thể liên lạc lại khi có đối tác phù hợp. </p> <p>Muốn biết nhiều hơn về các dịch vụ của IDJ, xin vui lòng liên hệ trực tiếp với IDJ.<br> <s<p><span style="color:red">Chú ý</span>: Mọi thông tin quý khách đăng ký được IDJ bảo mật và không công khai tên, địa chỉ cho đối tác đầu tư</p> </p> </div> <fieldset style="margin: 15px 5px 5px 5px;"> <legend class="tieudeform"><h3>I. Thông tin về người đăng ký</h3></legend> <table width="100%" cellspacing="1" cellpadding="1"> <tbody> <tr class="normal_font"> <td> <div align="right">1.</div> </td> <td>Họ và tên (*)</td> <td>:</td> <td><input type="text" size="75" id="dk_hoten" class="rg_textbox" name="dk_hoten"></td> </tr> <tr class="normal_font"> <td width="3%"> <div align="right">2.</div> </td> <td width="25%">Chức vụ</td> <td width="2%">:</td> <td width="70%"><input type="text" size="75" id="dk_chucvu" class="rg_textbox" name="dk_chucvu"> </td> </tr> <tr class="normal_font"> <td> <div align="right">3.</div> </td> <td>Mobile (*)</td> <td>:</td> <td><input type="text" size="75" id="dk_mobile" class="rg_textbox" name="dk_mobile"></td> </tr> <tr class="normal_font"> <td> <div align="right">4.</div> </td> <td>Email (*)</td> <td>:</td> <td><input type="text" size="75" id="dk_email" class="rg_textbox" name="dk_email"></td> </tr> <tr> <td colspan="2">&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </tbody> </table> </fieldset> <fieldset style="margin: 15px 5px 5px 5px;"> <legend class="tieudeform"><h3>II. Thông tin chung về doanh nghiệp</h3></legend> <table width="100%" cellspacing="1" cellpadding="1" class="normal_font"> <tbody> <tr> <td width="3%"> <div align="right">1.</div> </td> <td width="25%">Tên công ty (tiếng Việt) (*)</td> <td>:</td> <td width="70%"><input type="text" size="75" id="dk_tencty" class="rg_textbox" name="dk_tencty"> </td> </tr> <tr> <td> <div align="right">2.</div> </td> <td>Địa chỉ (*)</td> <td>:</td> <td><input type="text" size="75" id="dk_diachi" class="rg_textbox" name="dk_diachi"></td> </tr> <tr> <td>&nbsp;</td> <td> Điện thoại (*)</td> <td>:</td> <td> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="normal_font"> <tbody> <tr> <td width="43%"><input type="text" size="28" id="dk_dienthoai" class="rg_textbox" name="dk_dienthoai"></td> <td width="13%">Fax:</td> <td width="44%"><input type="text" size="28" id="dk_fax" class="rg_textbox" name="dk_fax"></td> </tr> </tbody> </table> </td> </tr> <tr> <td>&nbsp;</td> <td> Email</td> <td>:</td> <td> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="normal_font"> <tbody> <tr> <td width="43%"><input type="text" size="28" id="dk_email2" class="rg_textbox" name="dk_email2"></td> <td width="13%">Website:</td> <td width="44%"><input type="text" size="28" id="dk_website" class="rg_textbox" name="dk_website"></td> </tr> </tbody> </table> </td> </tr> <tr class="normal_font"> <td valign="top"> <div align="right">3.</div> </td> <td valign="top">Họ và tên Giám đốc</td> <td valign="top">:</td> <td><input type="text" size="75" id="dk_giamdoc" class="rg_textbox" name="dk_giamdoc"></td> </tr> <tr class="normal_font"> <td valign="top"> <div align="right">4.</div> </td> <td valign="top">Mã số thuế</td> <td valign="top">:</td> <td><input type="text" size="28" id="dk_masothue" class="rg_textbox" name="dk_masothue"></td> </tr> <tr class=normal_font> <td valign="top"><div align="right">5.</div></td> <td valign="top">Loại tài sản cho thuê </td> <td valign="top">:</td> <td> <select name="loaitaisan"> <option value="Nhà Ở">Nhà Ở</option> <option value="Nhà Xưởng">Nhà Xưởng</option> <option value="Văn Phòng">Văn Phòng</option> <option value="Cửa Hàng">Cửa Hàng</option> <option value="Ô tô">Ô tô</option> <option value="Bất động sản">Bất động sản</option> <option value="Khác">Khác</option> </select> </td> </tr> <tr class=normal_font> <td valign="top"><div align="right">6.</div></td> <td valign="top">Chi tiết về tài sản cho thuê (*)</td> <td valign="top">:</td> <td><textarea style="width:400px" name="dk_thongbao" cols="30" rows="5" class="rg_textarea" id="dk_thongbao"></textarea></td> </tr> <tr class="normal_font"> <td valign="top"> <div align="right">7.</div> </td> <td valign="top">Quý khách có thể giới thiệu đôi chút về cá nhân và tổ chức của mình, tiềm năng đầu tư, lĩnh vực đang kinh doanh, kinh nghiệm đầu tư</td> <td valign="top">:</td> <td><textarea id="dk_ttatdan" class="rg_textarea" rows="5" cols="30" name="dk_ttatdan" style="width:400px"></textarea></td> </tr> <tr> <td colspan="4"><span class="style3" style= "color:red;"><b>Chú ý</b></span><span class="style_dk">:</span> Bạn hãy nhập đầy đủ thông tin tại các mục.</td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </tbody> </table> </fieldset> <table width="100%" cellspacing="1" cellpadding="1" class="normal_font"> <tbody> <tr> <td><input type="checkbox" value="1" id="rule_ok" class="rg_checkbox" name="rule_ok"> Tôi đã đọc và đồng ý với <a target="_blank" href="index.php?frame=quyche" style="color:#0000FF">Quy chế sử dụng</a> và <a target="_blank" href="index.php?frame=baomat" style="color:#0000FF">Chính sách bảo mật</a> của website </td> </tr> <tr> <td> <p align="center"> <input type="submit" style="width:60" value="Gửi" class="button" name="submit" onclick="dang_ky()"/> <input type="reset" style="width:60" value="Nhập lại" class="button" name="reset"/> <input type="hidden" value="true" id="check_send" name="check_send"/> <input type="hidden" value="dk1" id="frame" name="frame"/> </p> </td> </tr> </tbody> </table> </div> <div class="right"> <?php include('../widgets/dang_ky.php'); include('../widgets/thue_cho_thue.php'); include('../widgets/tin_tuc_IDJ.php'); include('../widgets/doi_tac.php'); ?> </div> <?php include('../widgets/footer.php'); ?> </div> <script type="text/javascript"> function dang_ky(){ if($('#dk_hoten').val() == ''){ confirm('Bạn chưa nhập đầy đủ thông tin!!!'); }else if ($('#rule_ok').is('checked') == false) { confirm('Đồng ý với Quy chế sử dụng và Chính sách bảo mật của website!!!'); } } </script> </body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/dang_ky/DK_cho_thue.php
PHP
gpl3
10,389
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Mua bán doanh nghiệp</title> <link rel="stylesheet" type="text/css" href="../css/me.css"> <?php include('../widgets/js_css.php'); ?> </head> <body> <div class="outer"> <?php include('../widgets/banner.php'); include('../widgets/top_menu.php'); ?> <div class="left"> <?php include('../widgets/co_hoi.php'); include('../widgets/tim_kiem_co_hoi_khac.php'); include('../widgets/cac_chuyen_muc_hay.php'); include('../widgets/quang_cao.php'); include('../widgets/tim_kiem.php'); ?> </div> <div class="center"> <div class="start"> <marquee width="100%" scrollamount="5"> SÀN GIAO DỊCH MUA BÁN DOANH NGHIỆP&nbsp;&nbsp;---&nbsp;&nbsp;TÌM KIẾM NGUỒN ĐẦU TƯ, TÍN DỤNG&nbsp;&nbsp;&nbsp;---&nbsp;&nbsp;CƠ HỘI ĐẦU TƯ&nbsp;&nbsp;--- TIN TỨC KINH TẾ CẬP NHẬT --- &nbsp;&nbsp;THUÊ VÀ CHO THUÊ </marquee> </div> <div class="catogory"> <div class="title_catogory"><b>ĐĂNG KÝ MUA CÁC DOANH NGHIỆP NGOÀI DANH MỤC ĐANG MỜI</b></div> <div class="article"> <form id="form" action="form_dangky_muadoanhnghiepngoaimuc.php" method="POST"> <p>Mục này dành cho những nhà đầu tư đang tìm mua lại doanh nghiệp nhưng chưa tìm được đối tác trong các danh mục đang mời ở mục MUA CÁC DN MUỐN BÁN. Quý khách có thể điền thông tin vào đơn đăng ký dưới đây với những yêu cầu riêng của mình để chúng tôi có thể liên lạc lại khi có đối tác phù hợp.</p> <p>Muốn biết nhiều hơn về các dịch vụ của IDJ, xin vui lòng liên hệ trực tiếp với IDJ.</p> <p><span style="color:red">Chú ý</span>: Mọi thông tin quý khách đăng ký được IDJ bảo mật và không công khai tên, địa chỉ cho đối tác đầu tư</p> <fieldset> <legend>Thông tin về người đăng ký:</legend> <div > <label for="name" style="font-size: 0.8em">Họ tên <span>*</span></label> <input id="hoten" name="dk_hoten" /> </div> <div> <label for="address" style="font-size: 0.8em">Chức vụ <span>*</span></label> <input id="chucvu" name="dk_chucvu" /> </div> <div> <label for="address" style="font-size: 0.8em">Số điện thoại <span>*</span></label> <input id="sdt" name="dk_mobile" /> </div> <div> <label for="address" style="font-size: 0.8em">Email <span>*</span></label> <input id="email" name="dk_email" /> </div> <p><span style="color:red">Chú ý</span>: Các mục có dấu (*) là bắt buộc phải nhập thông tin.</p> </fieldset> <fieldset> <legend>Thông tin đăng ký:</legend> <div > <label for="name" style="font-size: 0.8em">Tên công ty (tiếng việt) <span>*</span></label> <input id="tenct" name="dk_tencty" /> </div> <div > <label for="name" style="font-size: 0.8em">Địa chỉ <span>*</span></label> <input id="dcct" name="dk_diachi" /> </div> <div > <label for="name" style="font-size: 0.8em">Số điện thoại <span>*</span></label> <input id="sdtct" name="dk_dienthoai" /> </div> <div> <label for="name" style="font-size: 0.8em">Fax </label> <input id="fax" name="dk_fax" /> </div> <div > <label for="name" style="font-size: 0.8em">Họ tên giám đốc <span>*</span></label> <input id="giamdoc" name="dk_giamdoc" /> </div> <div > <label for="name" style="font-size: 0.8em">Giới thiệu tóm tắt về cá nhân và tổ chức của mình, tiềm năng đầu tư, lĩnh vực đang kinh doanh, kinh nghiệm đầu tư <span>*</span></label> <textarea id="dk_ttatdan" class="rg_textarea" rows="5" cols="30" name="dk_ttatdan" style="width:400px"></textarea> </div> <div > <label for="name" style="font-size: 0.8em">Số tiền có thể đầu tư mua lại doanh nghiệp <span>*</span></label> <input id="sotien" name="sotien" /> </div> </br> <div > <label for="name" style="font-size: 0.8em">Địa phương quý khách quan tâm :</label> <input id="diaphuong" /> </div> <div > <p style="font-size: 0.8em"> Loại hình doanh nghiệp muốn mua :</p> <p style="font-size: 0.8em">Sản xuất: <input type="checkbox" /></p> <p style="font-size: 0.8em">Bất động sản: <input type="checkbox" /></p> <p style="font-size: 0.8em">Thương mại điện tử: <input type="checkbox" /></p> <p style="font-size: 0.8em">Công nghệ thông tin: <input type="checkbox" /></p> <p style="font-size: 0.8em">Khác: <input type="checkbox" /></p> </div> <div > <label for="name" style="font-size: 0.8em">Mô tả chi tiếc </label> <textarea id="gioithieu"cols="50" rows="10" wrap="off"> </textarea> </div> <div > <label for="name" style="font-size: 0.8em">Các yêu cầu khác mà doanh nghiệp muốn thông báo thêm cho IDJ</label> <textarea id="gioithieu"cols="50" rows="10" wrap="off"> </textarea> </div> <p><span style="color:red">Chú ý</span>: Các mục có dấu (*) là bắt buộc phải nhập thông tin.</p> </fieldset> <p style="font-size: 0.8em"><input type="checkbox"/>Tôi đã đọc và đồng ý với Quy chế sử dụng và Chính sách bảo mật của website</p> <input type="submit" name="submit" value="Gửi" class="button" /> <input type="submit" name="submit" value="Nhập lại" class="button" /> </FORM> </div> <div class="phan_cach"> <hr /> <a href="#"></a> </div> </div> </div> <div class="right"> <?php include('../widgets/dang_ky.php'); include('../widgets/thue_cho_thue.php'); include('../widgets/tin_tuc_IDJ.php'); include('../widgets/doi_tac.php'); ?> </div> <?php include('../widgets/footer.php'); ?> </div> </body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/dang_ky/DK_mua_doanh_nghiep_ngoai_muc.php
PHP
gpl3
6,731
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Mua bán doanh nghiệp</title> <?php include('../widgets/js_css.php'); ?> </head> <body> <div class="outer"> <?php include('../widgets/banner.php'); include('../widgets/top_menu.php'); ?> <div class="left"> <?php include('../widgets/co_hoi.php'); include('../widgets/tim_kiem_co_hoi_khac.php'); include('../widgets/cac_chuyen_muc_hay.php'); include('../widgets/quang_cao.php'); include('../widgets/tim_kiem.php'); ?> </div> <div class="center"> <br /> <div class="title_catogory"><b>ĐĂNG KÝ BÁN DOANH NGHIỆP, DỰ ÁN THÔNG QUA IDJ</b></div> <div style="padding: 5px;"> <p>Cảm ơn quý khách đã ghé thăm website của chúng tôi. Rất mong quý khách điền các thông tin sau <b>Chính xác và đầy đủ</b> để chúng tôi có thể liên hệ lại với Quý khách một cách sớm nhất. </p> <p>Muốn biết nhiều hơn về các dịch vụ của IDJ, xin vui lòng liên hệ trực tiếp với IDJ.<br> <p><span style="color:red">Chú ý</span>: Mọi thông tin quý khách đăng ký được IDJ bảo mật và không công khai tên, địa chỉ cho đối tác đầu tư</p> </p> </div> <div> <h2><b>Bạn đã đăng kí thành công</b></h2> </div> <?php require_once '../DTO/KHACHHANG_DTO.php'; require_once '../DTO/DOANHNGHIEP_DTO.php'; require_once '../classes/xl_khach_hang.php'; require_once '../classes/xl_doanh_nghiep.php'; $kh = new KHACHHANG_DTO(); $xl_kh = new xl_khach_hang(); $dn = new DOANHNGHIEP_DTO(); $xl_dn = new xl_doanh_nghiep(); // thông tin khách hàng $kh->ho_ten = $_POST["dk_hoten"]; $kh->chuc_vu = $_POST["dk_chucvu"]; $kh->dien_thoai = $_POST["dk_mobile"]; $kh->email = $_POST["dk_email"]; //thông tin doanh nghiệp $dn->ten_dn = $_POST['dk_tencty']; $dn->dia_chi = $_POST['dk_diachi']; $dn->dien_thoai = $_POST['dk_dienthoai']; $dn->email = $_POST['dk_email']; $dn->website = $_POST['dk_website']; $dn->ten_giam_doc = $_POST['dk_giamdoc']; $dn->ma_so_thue = $_POST['dk_masothue']; $dn->gioi_thieu = $_POST['dk_ttatdan']; $xl_kh->them_giaodien($kh); $xl_dn->them($dn); //echo $dn->website; ?> </div> <div class="right"> <?php include('../widgets/dang_ky.php'); include('../widgets/thue_cho_thue.php'); include('../widgets/tin_tuc_IDJ.php'); include('../widgets/doi_tac.php'); ?> </div> <?php include('../widgets/footer.php'); ?> </div> <script type="text/javascript"> function dang_ky(){ if($('#dk_hoten').val() == ''){ confirm('Bạn chưa nhập đầy đủ thông tin!!!'); }else if ($('#rule_ok').is('checked') == false) { confirm('Đồng ý với Quy chế sử dụng và Chính sách bảo mật của website!!!'); } } </script> </body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/dang_ky/form_dangky_chovayngoaidanhmuc.php
PHP
gpl3
3,612
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Mua bán doanh nghiệp</title> <?php include('../widgets/js_css.php'); ?> </head> <body> <div class="outer"> <?php include('../widgets/banner.php'); include('../widgets/top_menu.php'); ?> <div class="left"> <?php include('../widgets/co_hoi.php'); include('../widgets/tim_kiem_co_hoi_khac.php'); include('../widgets/cac_chuyen_muc_hay.php'); include('../widgets/quang_cao.php'); include('../widgets/tim_kiem.php'); ?> </div> <div class="center"> <br /> <table width="98%" cellspacing="0" cellpadding="0" border="0" align="center" id="table5"> <tbody> <tr> <td height="20" bgcolor="#5FA703"> <div style="width: 30px; float: left; padding-left: 2px;"><img src="../upload/images/icon_02.gif" /> </div> <div class="pageTitle"> ĐĂNG KÝ BÁN DOANH NGHIỆP, DỰ ÁN THÔNG QUA IDJ --Thay Doi </div> </td> </tr> </tbody> </table> <div style="padding: 5px;"> <p>Cảm ơn quý khách đã ghé thăm website của chúng tôi. Rất mong quý khách điền các thông tin sau <b>Chính xác và đầy đủ</b> để chúng tôi có thể liên hệ lại với Quý khách một cách sớm nhất. </p> <p>Muốn biết nhiều hơn về các dịch vụ của IDJ, xin vui lòng liên hệ trực tiếp với IDJ.<br> <span class="style1">Chú ý</span>: <span class="style2">Mọi thông tin quý khách đăng ký được IDJ bảo mật và không công khai tên, địa chỉ cho đối tác đầu tư</span> </p> </div> <form action="form_dangky_bandoanhnghiep.php" method="POST"> <fieldset style="margin-left: 5px; margin-right: 5px;"> <legend class="frame">I. Thông tin về người đăng ký:</legend> <table width="100%" cellspacing="1" cellpadding="1"> <tbody> <tr class="normal_font"> <td> <div align="right">1.</div> </td> <td>Họ và tên (*)</td> <td>:</td> <td><input type="text" size="75" id="dk_hoten" class="rg_textbox" name="dk_hoten"></td> </tr> <tr class="normal_font"> <td width="3%"> <div align="right">2.</div> </td> <td width="25%">Chức vụ</td> <td width="2%">:</td> <td width="70%"><input type="text" size="75" id="dk_chucvu" class="rg_textbox" name="dk_chucvu"> </td> </tr> <tr class="normal_font"> <td> <div align="right">3.</div> </td> <td>Mobile (*)</td> <td>:</td> <td><input type="text" size="75" id="dk_mobile" class="rg_textbox" name="dk_mobile"></td> </tr> <tr class="normal_font"> <td> <div align="right">4.</div> </td> <td>Email (*)</td> <td>:</td> <td><input type="text" size="75" id="dk_email" class="rg_textbox" name="dk_email"></td> </tr> <tr> <td colspan="2">&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </tbody> </table> </fieldset> <fieldset style="margin-left: 5px; margin-right: 5px;"> <legend class="frame">II. Thông tin chung về doanh nghiệp:</legend> <table width="100%" cellspacing="1" cellpadding="1" class="normal_font"> <tbody> <tr> <td width="3%"> <div align="right">1.</div> </td> <td width="25%">Tên công ty (tiếng Việt) (*)</td> <td>:</td> <td width="70%"><input type="text" size="75" id="dk_tencty" class="rg_textbox" name="dk_tencty"> </td> </tr> <tr> <td> <div align="right">2.</div> </td> <td>Địa chỉ (*)</td> <td>:</td> <td><input type="text" size="75" id="dk_diachi" class="rg_textbox" name="dk_diachi"></td> </tr> <tr> <td>&nbsp;</td> <td> Điện thoại (*)</td> <td>:</td> <td> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="normal_font"> <tbody> <tr> <td width="43%"><input type="text" size="28" id="dk_dienthoai" class="rg_textbox" name="dk_dienthoai"></td> <td width="13%">Fax:</td> <td width="44%"><input type="text" size="28" id="dk_fax" class="rg_textbox" name="dk_fax"></td> </tr> </tbody> </table> </td> </tr> <tr> <td>&nbsp;</td> <td> Email</td> <td>:</td> <td> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="normal_font"> <tbody> <tr> <td width="43%"><input type="text" size="28" id="dk_email2" class="rg_textbox" name="dk_email2"></td> <td width="13%">Website:</td> <td width="44%"><input type="text" size="28" id="dk_website" class="rg_textbox" name="dk_website"></td> </tr> </tbody> </table> </td> </tr> <tr class="normal_font"> <td valign="top"> <div align="right">3.</div> </td> <td valign="top">Họ và tên Giám đốc:</td> <td valign="top">:</td> <td><input type="text" size="75" id="dk_giamdoc" class="rg_textbox" name="dk_giamdoc"></td> </tr> <tr class="normal_font"> <td valign="top"> <div align="right">4.</div> </td> <td valign="top">Mã số thuế</td> <td valign="top">:</td> <td><input type="text" size="28" id="dk_masothue" class="rg_textbox" name="dk_masothue"></td> </tr> <tr class="normal_font"> <td valign="top"> <div align="right">5.</div> </td> <td valign="top">Giới thiệu tóm tắt về doanh nghiệp, dự án muốn bán</td> <td valign="top">:</td> <td><textarea id="dk_ttatdan" class="rg_textarea" rows="5" cols="30" name="dk_ttatdan" style="width:400px"></textarea></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </tbody> </table> </fieldset> <fieldset style="margin-left: 5px; margin-right: 5px;"> <legend class="frame">III. Tình trạng về doanh nghiệp, dự án:</legend> <table width="100%" cellspacing="1" cellpadding="1" class="normal_font"> <tbody> <tr> <td> <div align="right">1.</div> </td> <td>Đang kinh doanh</td> <td>:</td> <td width="70%"> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="normal_font"> <tbody> <tr> <td width="10%"><input type="checkbox" value="1" id="dk_kd" class="rg_checkbox" name="dk_kd"></td> <td width="46%">&nbsp;</td> <td width="44%">&nbsp;</td> </tr> </tbody> </table> </td> </tr> <tr> <td width="3%"> <div align="right">2.</div> </td> <td width="25%">Đã dừng kinh doanh</td> <td width="2%">:</td> <td> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="normal_font"> <tbody> <tr> <td width="16%"><input type="checkbox" value="1" id="dk_dkd" class="rg_checkbox" name="dk_dkd"></td> <td width="35%">Dừng kinh doanh từ ngày:</td> <td width="49%"><input type="text" size="28" id="dk_ngayd" class="rg_textbox" name="dk_ngayd"></td> </tr> </tbody> </table> </td> </tr> <tr> <td valign="top"> <div align="right">3.</div> </td> <td valign="top">Bán toàn bộ DN</td> <td>:</td> <td> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="normal_font"> <tbody> <tr> <td width="16%"><input type="checkbox" value="1" id="dk_banhet" class="rg_checkbox" name="dk_banhet"></td> <td width="35%">Bán một phần DN:</td> <td width="49%"><input type="checkbox" value="1" id="dk_bannua" class="rg_checkbox" name="dk_bannua"></td> </tr> </tbody> </table> </td> </tr> <tr> <td valign="top"> <div align="right">4.</div> </td> <td valign="top">Cụ thể</td> <td>:</td> <td><input type="text" size="75" id="dk_chitietban" class="rg_textbox" name="dk_chitietban"></td> </tr> <tr> <td valign="top"> <div align="right">5.</div> </td> <td valign="top">Lý do muốn bán, chuyển nhượng</td> <td>:</td> <td><textarea id="dk_lydo" class="rg_textarea" rows="5" cols="30" name="dk_lydo" style="width:400px"></textarea></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </tbody> </table> </fieldset> <fieldset style="margin-left: 5px; margin-right: 5px;"> <legend class="frame">IV.Giá bán:</legend> <table width="100%" cellspacing="1" cellpadding="1" class="normal_font"> <tbody> <tr> <td colspan="4"><span class="style3">Chú ý</span><span class="style_dk">:</span> <span class="style4">Nếu quý khách chưa định giá được theo những chi tiết dưới đây thì có thể ghi số tổng ước tính</span> </td> </tr> <tr> <td> <div align="right">1.</div> </td> <td>Tài sản hữu hình</td> <td>:</td> <td width="70%"> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="normal_font"> <tbody> <tr> <td width="47%"><input type="text" size="32" id="dk_ts1" class="rg_textbox" name="dk_ts1"></td> <td width="15%">Thành số:</td> <td width="38%"><input type="text" size="24" id="dk_so1" class="rg_textbox" name="dk_so1"></td> </tr> </tbody> </table> </td> </tr> <tr> <td width="3%"> <div align="right">2.</div> </td> <td width="25%">Khách hàng</td> <td width="2%">:</td> <td> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="normal_font"> <tbody> <tr> <td width="47%"><input type="text" size="32" id="dk_ts2" class="rg_textbox" name="dk_ts2"></td> <td width="15%">Thành số:</td> <td width="38%"><input type="text" size="24" id="dk_so2" class="rg_textbox" name="dk_so2"></td> </tr> </tbody> </table> </td> </tr> <tr> <td width="3%"> <div align="right">3.</div> </td> <td width="25%">Thương hiệu</td> <td width="2%">:</td> <td> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="normal_font"> <tbody> <tr> <td width="47%"><input type="text" size="32" id="dk_ts3" class="rg_textbox" name="dk_ts3"></td> <td width="15%">Thành số:</td> <td width="38%"><input type="text" size="24" id="dk_so3" class="rg_textbox" name="dk_so3"></td> </tr> </tbody> </table> </td> </tr> <tr> <td width="3%"> <div align="right">4.</div> </td> <td width="25%">Giá trị khác:</td> <td width="2%">:</td> <td> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="normal_font"> <tbody> <tr> <td width="47%"><input type="text" size="32" id="dk_ts4" class="rg_textbox" name="dk_ts4"></td> <td width="15%">Thành số:</td> <td width="38%"><input type="text" size="24" id="dk_so4" class="rg_textbox" name="dk_so4"></td> </tr> </tbody> </table> </td> </tr> <tr> <td valign="top"> <div align="right"></div> </td> <td valign="top">&nbsp;</td> <td>:</td> <td> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="normal_font"> <tbody> <tr> <td width="12%">&nbsp;</td> <td width="50%"><strong>Tổng giá trị dự kiến bán thành tiền</strong>&nbsp;:</td> <td width="38%"><input type="text" size="24" id="dk_tongtien" class="rg_textbox" name="dk_tongtien"></td> </tr> </tbody> </table> </td> </tr> <tr> <td valign="top"> <div align="right">5.</div> </td> <td valign="top">Số tiền bằng chữ</td> <td>:</td> <td><input type="text" size="75" id="dk_tongtien2" class="rg_textbox" name="dk_tongtien2"></td> </tr> <tr> <td colspan="4">&nbsp;</td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </tbody> </table> </fieldset> <fieldset style="margin-left: 5px; margin-right: 5px;"> <legend class="frame">V.Các yêu cầu khác mà doanh nghiệp muốn thông báo thêm cho IDJ:</legend> <table width="100%" cellspacing="1" cellpadding="1" class="normal_font"> <tbody> <tr> <td width="1%" valign="top">&nbsp;</td> <td width="2%" valign="top">&nbsp;</td> <td width="27%" valign="top">&nbsp;</td> <td width="70%"><textarea id="dk_yeucau" class="rg_textarea" rows="5" cols="30" name="dk_yeucau" style="width:400px"></textarea></td> </tr> <tr> <td colspan="4"><span class="style3">Chú ý</span><span class="style_dk">:</span> Bạn hãy nhập đầy đủ thông tin tại các mục. </td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </tbody> </table> </fieldset> <table width="100%" cellspacing="1" cellpadding="1" class="normal_font"> <tbody> <tr> <td><input type="checkbox" value="1" id="rule_ok" class="rg_checkbox" name="rule_ok"> Tôi đã đọc và đồng ý với <a target="_blank" href="index.php?frame=quyche" style="color:#0000FF">Quy chế sử dụng</a> và <a target="_blank" href="index.php?frame=baomat" style="color:#0000FF">Chính sách bảo mật</a> của website </td> </tr> <tr> <td> <p align="center"> <input type="submit" style="width:60" value="Gửi" class="button" name="submit" onclick="dang_ky()"/> <input type="reset" style="width:60" value="Nhập lại" class="button" name="reset"/> <input type="hidden" value="true" id="check_send" name="check_send"/> <input type="hidden" value="dk1" id="frame" name="frame"/> </p> </td> </tr> </tbody> </table> </form> </div> <div class="right"> <?php include('../widgets/dang_ky.php'); include('../widgets/thue_cho_thue.php'); include('../widgets/tin_tuc_IDJ.php'); include('../widgets/doi_tac.php'); ?> </div> <?php include('../widgets/footer.php'); ?> </div> <script type="text/javascript"> function dang_ky(){ if($('#dk_hoten').val() == ''){ $.prompt('Bạn chưa nhập đầy đủ thông tin!!!'); }else if ($('#rule_ok').is('checked') == false) { confirm('Đồng ý với Quy chế sử dụng và Chính sách bảo mật của website!!!'); } $ } </script> </body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/dang_ky/phieu_dang_ky.php
PHP
gpl3
21,429
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Mua bán doanh nghiệp</title> <?php include('../widgets/js_css.php'); ?> </head> <body> <div class="outer"> <?php include('../widgets/banner.php'); include('../widgets/top_menu.php'); ?> <div class="left"> <?php include('../widgets/co_hoi.php'); include('../widgets/tim_kiem_co_hoi_khac.php'); include('../widgets/cac_chuyen_muc_hay.php'); include('../widgets/quang_cao.php'); include('../widgets/tim_kiem.php'); ?> </div> <div class="center"> <br /> <div class="title_catogory"><b>ĐĂNG KÝ TÌM NGUỒN TÍN DỤNG</b></div> <div style="padding: 5px;"> <p>Cảm ơn quý khách đã ghé thăm website của chúng tôi. Rất mong quý khách điền các thông tin sau <b>Chính xác và đầy đủ</b> để chúng tôi có thể liên hệ lại với Quý khách một cách sớm nhất. </p> <p>Muốn biết nhiều hơn về các dịch vụ của IDJ, xin vui lòng liên hệ trực tiếp với IDJ.<br> <p><span style="color:red">Chú ý</span>: Mọi thông tin quý khách đăng ký được IDJ bảo mật và không công khai tên, địa chỉ cho đối tác đầu tư</p> </p> </div> <form action="form_dangky_timnguontindung.php" method="POST"> <fieldset style="margin: 15px 5px 5px 5px;"> <legend class="tieudeform"><h3>I. Thông tin về người đăng ký</h3></legend> <table width="100%" cellspacing="1" cellpadding="1"> <tbody> <tr class="normal_font"> <td> <div align="right">1.</div> </td> <td>Họ và tên (*)</td> <td>:</td> <td><input type="text" size="75" id="dk_hoten" class="rg_textbox" name="dk_hoten"></td> </tr> <tr class="normal_font"> <td width="3%"> <div align="right">2.</div> </td> <td width="25%">Chức vụ</td> <td width="2%">:</td> <td width="70%"><input type="text" size="75" id="dk_chucvu" class="rg_textbox" name="dk_chucvu"> </td> </tr> <tr class="normal_font"> <td> <div align="right">3.</div> </td> <td>Mobile (*)</td> <td>:</td> <td><input type="text" size="75" id="dk_mobile" class="rg_textbox" name="dk_mobile"></td> </tr> <tr class="normal_font"> <td> <div align="right">4.</div> </td> <td>Email (*)</td> <td>:</td> <td><input type="text" size="75" id="dk_email" class="rg_textbox" name="dk_email"></td> </tr> <tr> <td colspan="2">&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </tbody> </table> </fieldset> <fieldset style="margin: 15px 5px 5px 5px;"> <legend class="tieudeform"><h3>II. Thông tin chung về doanh nghiệp</h3></legend> <table width="100%" cellspacing="1" cellpadding="1" class="normal_font"> <tbody> <tr> <td width="3%"> <div align="right">1.</div> </td> <td width="25%">Tên công ty (tiếng Việt) (*)</td> <td>:</td> <td width="70%"><input type="text" size="75" id="dk_tencty" class="rg_textbox" name="dk_tencty"> </td> </tr> <tr> <td> <div align="right">2.</div> </td> <td>Địa chỉ (*)</td> <td>:</td> <td><input type="text" size="75" id="dk_diachi" class="rg_textbox" name="dk_diachi"></td> </tr> <tr> <td>&nbsp;</td> <td> Điện thoại (*)</td> <td>:</td> <td> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="normal_font"> <tbody> <tr> <td width="43%"><input type="text" size="28" id="dk_dienthoai" class="rg_textbox" name="dk_dienthoai"></td> <td width="13%">Fax:</td> <td width="44%"><input type="text" size="28" id="dk_fax" class="rg_textbox" name="dk_fax"></td> </tr> </tbody> </table> </td> </tr> <tr> <td>&nbsp;</td> <td> Email</td> <td>:</td> <td> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="normal_font"> <tbody> <tr> <td width="43%"><input type="text" size="28" id="dk_email2" class="rg_textbox" name="dk_email2"></td> <td width="13%">Website:</td> <td width="44%"><input type="text" size="28" id="dk_website" class="rg_textbox" name="dk_website"></td> </tr> </tbody> </table> </td> </tr> <tr class="normal_font"> <td valign="top"> <div align="right">3.</div> </td> <td valign="top">Họ và tên Giám đốc</td> <td valign="top">:</td> <td><input type="text" size="75" id="dk_giamdoc" class="rg_textbox" name="dk_giamdoc"></td> </tr> <tr class="normal_font"> <td valign="top"> <div align="right">4.</div> </td> <td valign="top">Mã số thuế</td> <td valign="top">:</td> <td><input type="text" size="28" id="dk_masothue" class="rg_textbox" name="dk_masothue"></td> </tr> <tr class="normal_font"> <td valign="top"> <div align="right">5.</div> </td> <td valign="top">Quý khách có thể giới thiệu đôi chút về cá nhân và tổ chức của mình, tiềm năng đầu tư, lĩnh vực đang kinh doanh, kinh nghiệm đầu tư</td> <td valign="top">:</td> <td><textarea id="dk_ttatdan" class="rg_textarea" rows="5" cols="30" name="dk_ttatdan" style="width:400px"></textarea></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </tbody> </table> </fieldset> <fieldset style="margin: 15px 5px 5px 5px;"> <legend class="tieudeform"><h3>III. Tình trạng về doanh nghiệp, dự án</h3></legend> <table width="100%" cellspacing="1" cellpadding="1" class="normal_font"> <tbody> <tr> <td> <div align="right">1.</div> </td> <td>Đã được cấp phép</td> <td>:</td> <td width="70%"> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="normal_font"> <tbody> <tr> <td width="10%"><input type="checkbox" value="1" id="dk_kd" class="rg_checkbox" name="dk_kd"></td> <td width="35%">Ngày được cấp phép:</td> <td width="49%"><input type="text" size="28" id="dk_ngayd" class="rg_textbox" name="dk_ngayd"></td> </tr> </tbody> </table> </td> </tr> <tr> <td width="3%"> <div align="right">2.</div> </td> <td width="25%">Đang chờ cấp phép</td> <td width="2%">:</td> <td> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="normal_font"> <tbody> <tr> <td width="16%"><input type="checkbox" value="1" id="dk_dkd" class="rg_checkbox" name="dk_dkd"></td> <td width="35%">Thời gian dự kiến được cấp phép:</td> <td width="49%"><input type="text" size="28" id="dk_ngayd" class="rg_textbox" name="dk_ngayd"></td> </tr> </tbody> </table> </td> </tr> <tr> <td valign="top"> <div align="right">3.</div> </td> <td valign="top">Đang là ý tưởng và khả thi được cấp phép </td> <td>:</td> <td> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="normal_font"> <tbody> <tr> <td width="16%"><input type="checkbox" value="1" id="dk_banhet" class="rg_checkbox" name="dk_banhet"></td> </tr> </tbody> </table> </td> </tr> <tr> <td valign="top"> <div align="right">4.</div> </td> <td valign="top">Giới thiệu tóm tắt về dự án muốn vay vốn</td> <td>:</td> <td><textarea id="dk_lydo" class="rg_textarea" rows="5" cols="30" name="dk_lydo" style="width:400px"></textarea></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </tbody> </table> </fieldset> <fieldset style="margin: 15px 5px 5px 5px;"> <legend class="tieudeform"><h3>IV.Thông tin vay vốn</h3></legend> <table width="100%" cellspacing="1" cellpadding="1" class=normal_font> <tr> <td valign="top"><div align="right">1.</div></td> <td valign="top">Số vốn cần vay </td> <td>:</td> <td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="normal_font"> <tr> <td width="34%"><input name="dk_vonvay" type="text" class="rg_textbox" id="dk_vonvay" size="28" /></td> <td width="22%">Thời hạn:</td> <td width="44%"><input name="dk_thoihan" type="text" class="rg_textbox" id="dk_thoihan" size="28" /></td> </tr> </table></td> </tr> <tr> <td width="3%"><div align="right">2.</div></td> <td width="25%">Mức lãi suất đề nghị </td> <td width="2%">:</td> <td width="70%"><table width="100%" border="0" cellpadding="0" cellspacing="0" class=normal_font> <tr> <td width="6%">từ: </td> <td width="13%"><div align="center"> <input name="dk_lxuattu" type="text" class=rg_textbox id="dk_lxuattu" size="5" /> </div></td> <td width="13%">/năm -&gt;</td> <td width="8%">đến:</td> <td width="12%"><div align="center"> <input name="dk_lxuatden" type="text" class="rg_textbox" id="dk_lxuatden" size="5" /> </div></td> <td width="48%">/năm </td> </tr> </table></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>(tối thiểu bằng mức ngân hàng TM cho vay cùng kỳ hạn) </td> </tr> <tr> <td width="3%"><div align="right">3.</div></td> <td width="25%">Tài sản thế chấp</td> <td width="2%">:</td> <td><input name="dk_tsantchap" type="text" class="rg_textbox" id="dk_tsantchap" size="75" /></td> </tr> <tr> <td colspan="4">&nbsp;</td> </tr> </table> </fieldset> <fieldset style="margin: 15px 5px 5px 5px;"> <legend class="tieudeform"><h3>V.Yêu cầu về giao dịch</h3></legend> <table width="100%" cellspacing="1" cellpadding="1" class=normal_font> <!-- <tr> <td width="3%"><div align="right">1.</div></td> <td width="25%">Ủy quyền cho IDJ </td> <td width="2%">:</td> <td><table width="100%" border="0" cellpadding="0" cellspacing="0" class=normal_font> <tr> <td width="13%"><input name="dk_idj" type="checkbox" class=rg_checkbox id="dk_idj" value="1"></td> <td width="49%">Giao dịch trực tiếp với khách hàng :</td> <td width="38%"><input name="dk_kh" type="checkbox" class=rg_checkbox id="dk_kh" value="1" /></td> </tr> </table></td> </tr> --> <tr> <td valign="top"><div align="right">1.</div></td> <td colspan="3" valign="top">Các hình thức khác doanh nghiệp có thể hợp tác </td> </tr> <tr> <td valign="top">&nbsp;</td> <td colspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="1" class="normal_font"> <tr> <td width="auto">Kêu gọi liên doanh: <input name="dk_goild" type="checkbox" class="rg_checkbox" id="dk_goild" value="1" /></td> <td width="auto">Bán một phần cổ phần DN: <input name="dk_bannua" type="checkbox" class="rg_checkbox" id="dk_bannua" value="1" /></td> <td width="auto">Bán toàn bộ DN: <input name="dk_banhet" type="checkbox" class="rg_checkbox" id="dk_banhet" value="1" /></td> </tr> </table></td> </tr> <tr> <td valign="top"><div align="right">2.</div></td> <td valign="top">Các yêu cầu khác mà doanh nghiệp muốn thông báo thêm cho IDJ</td> <td valign="top">:</td> <td><textarea style="width:400px" name="dk_yeucau" cols="30" rows="5" class=rg_textarea id="dk_yeucau"></textarea></td> </tr> <tr> <td colspan="4"><span class="style3" style="text-decoration:underline;" >Chú ý</span><span class="style_dk">:</span> Bạn hãy nhập đầy đủ thông tin tại các mục.</td> </tr> </table> </fieldset> <table width="100%" cellspacing="1" cellpadding="1" class="normal_font"> <tbody> <tr> <td><input type="checkbox" value="1" id="rule_ok" class="rg_checkbox" name="rule_ok"> Tôi đã đọc và đồng ý với <a target="_blank" href="index.php?frame=quyche" style="color:#0000FF">Quy chế sử dụng</a> và <a target="_blank" href="index.php?frame=baomat" style="color:#0000FF">Chính sách bảo mật</a> của website </td> </tr> <tr> <td> <p align="center"> <input type="submit" style="width:60" value="Gửi" class="button" name="submit" onclick="dang_ky()"/> <input type="reset" style="width:60" value="Nhập lại" class="button" name="reset"/> <input type="hidden" value="true" id="check_send" name="check_send"/> <input type="hidden" value="dk1" id="frame" name="frame"/> </p> </td> </tr> </tbody> </table> </form> </div> <div class="right"> <?php include('../widgets/dang_ky.php'); include('../widgets/thue_cho_thue.php'); include('../widgets/tin_tuc_IDJ.php'); include('../widgets/doi_tac.php'); ?> </div> <?php include('../widgets/footer.php'); ?> </div> <script type="text/javascript"> function dang_ky(){ if($('#dk_hoten').val() == ''){ confirm('Bạn chưa nhập đầy đủ thông tin!!!'); }else if ($('#rule_ok').is('checked') == false) { confirm('Đồng ý với Quy chế sử dụng và Chính sách bảo mật của website!!!'); } } </script> </body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/dang_ky/phieu_dang_ky_tim_nguon_tin_dung.php
PHP
gpl3
17,907
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Mua bán doanh nghiệp</title> <link rel="stylesheet" type="text/css" href="../css/me.css"> <?php include('../widgets/js_css.php'); ?> </head> <body> <div class="outer"> <?php include('../widgets/banner.php'); include('../widgets/top_menu.php'); ?> <div class="left"> <?php include('../widgets/co_hoi.php'); include('../widgets/tim_kiem_co_hoi_khac.php'); include('../widgets/cac_chuyen_muc_hay.php'); include('../widgets/quang_cao.php'); include('../widgets/tim_kiem.php'); ?> </div> <div class="center"> <div class="start"> <marquee width="100%" scrollamount="5"> SÀN GIAO DỊCH MUA BÁN DOANH NGHIỆP&nbsp;&nbsp;---&nbsp;&nbsp;TÌM KIẾM NGUỒN ĐẦU TƯ, TÍN DỤNG&nbsp;&nbsp;&nbsp;---&nbsp;&nbsp;CƠ HỘI ĐẦU TƯ&nbsp;&nbsp;--- TIN TỨC KINH TẾ CẬP NHẬT --- &nbsp;&nbsp;THUÊ VÀ CHO THUÊ </marquee> </div> <div class="catogory"> <div class="title_catogory"><b>ĐĂNG KÝ TÌM ĐỐI TÁC</b></div> <div class="article"> <form id="form" action="form_dangky_timdoitac.php" method="POST"> <p>Mục này dành cho những khách hàng cần tìm kiếm đối tác nhưng chưa tìm thấy. Quý khách có thể điền thông tin vào đơn đăng ký dưới đây với những yêu cầu riêng của mình để chúng tôi có thể liên lạc lại khi có đối tác phù hợp. Chúng tôi khuyến khích các ngân hàng, quỹ đầu tư, các cá nhân trong và ngoài nước đăng ký ở mục này về khả năng đầu tư của mình để IDJ giúp cho việc tìm đối tác.</p> <p>Muốn biết nhiều hơn về các dịch vụ của IDJ, xin vui lòng liên hệ trực tiếp với IDJ.</p> <p><span style="color:red">Chú ý</span>: Mọi thông tin quý khách đăng ký được IDJ bảo mật và không công khai tên, địa chỉ cho đối tác đầu tư</p> <fieldset> <legend>Thông tin về người đăng ký:</legend> <div > <label for="name" style="font-size: 0.8em">Họ tên <span>*</span></label> <input id="hoten" name="dk_hoten" /> </div> <div> <label for="address" style="font-size: 0.8em">Chức vụ <span>*</span></label> <input id="chucvu" name="dk_chucvu" /> </div> <div> <label for="address" style="font-size: 0.8em">Số điện thoại <span>*</span></label> <input id="sdt" name="dk_mobile" /> </div> <div> <label for="address" style="font-size: 0.8em">Email <span>*</span></label> <input id="email" name="dk_email" /> </div> <p><span style="color:red">Chú ý</span>: Các mục có dấu (*) là bắt buộc phải nhập thông tin.</p> </fieldset> <fieldset> <legend>Thông tin đăng ký:</legend> <div > <label for="name" style="font-size: 0.8em">Tên công ty (tiếng việt) <span>*</span></label> <input id="tenct" name="dk_tencty" /> </div> <div > <label for="name" style="font-size: 0.8em">Địa chỉ <span>*</span></label> <input id="dcct" name="dk_diachi" /> </div> <div > <label for="name" style="font-size: 0.8em">Số điện thoại <span>*</span></label> <input id="sdtct" name="dk_dienthoai" /> </div> <div> <label for="name" style="font-size: 0.8em">Fax </label> <input id="fax" name="dk_fax" /> </div> <div > <label for="name" style="font-size: 0.8em">Họ tên giám đốc <span>*</span></label> <input id="giamdoc" name="dk_giamdoc" /> </div> <div > <label for="name" style="font-size: 0.8em">Mã số thuế </label> <input id="giamdoc" name="dk_masothue" /> </div> <div > <label for="name" style="font-size: 0.8em">Giới thiệu tóm tắt về cá nhân và tổ chức của mình, tiềm năng đầu tư, lĩnh vực đang kinh doanh, kinh nghiệm đầu tư </label> <textarea id="dk_ttatdan" class="rg_textarea" rows="5" cols="30" name="dk_ttatdan" style="width:400px"></textarea> </div> <div > <label for="name" style="font-size: 0.8em">Nội dung yêu cầu tìm đối tác <span>*</span></label> <textarea id="gioithieu"cols="50" rows="10" wrap="off"> </textarea> </div> <p><span style="color:red">Chú ý</span>: Các mục có dấu (*) là bắt buộc phải nhập thông tin.</p> </fieldset> <p style="font-size: 0.8em"><input type="checkbox"/>Tôi đã đọc và đồng ý với Quy chế sử dụng và Chính sách bảo mật của website</p> <input type="submit" name="submit" value="Gửi" class="button" /> <input type="submit" name="submit" value="Nhập lại" class="button" /> </FORM> </div> <div class="phan_cach"> <hr /> <a href="#"></a> </div> </div> </div> <div class="right"> <?php include('../widgets/dang_ky.php'); include('../widgets/thue_cho_thue.php'); include('../widgets/tin_tuc_IDJ.php'); include('../widgets/doi_tac.php'); ?> </div> <?php include('../widgets/footer.php'); ?> </div> </body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/dang_ky/DK_tim_doi_tac.php
PHP
gpl3
5,843
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Mua bán doanh nghiệp</title> <link rel="stylesheet" type="text/css" href="../css/me.css"> <?php include('../widgets/js_css.php'); ?> </head> <body> <div class="outer"> <?php include('../widgets/banner.php'); include('../widgets/top_menu.php'); ?> <div class="left"> <?php include('../widgets/co_hoi.php'); include('../widgets/tim_kiem_co_hoi_khac.php'); include('../widgets/cac_chuyen_muc_hay.php'); include('../widgets/quang_cao.php'); include('../widgets/tim_kiem.php'); ?> </div> <div class="center"> <div class="start"> <marquee width="100%" scrollamount="5"> SÀN GIAO DỊCH MUA BÁN DOANH NGHIỆP&nbsp;&nbsp;---&nbsp;&nbsp;TÌM KIẾM NGUỒN ĐẦU TƯ, TÍN DỤNG&nbsp;&nbsp;&nbsp;---&nbsp;&nbsp;CƠ HỘI ĐẦU TƯ&nbsp;&nbsp;--- TIN TỨC KINH TẾ CẬP NHẬT --- &nbsp;&nbsp;THUÊ VÀ CHO THUÊ </marquee> </div> <div class="catogory"> <div class="title_catogory"><b>ĐĂNG KÝ ĐẦU TƯ NGOÀI DANH MỤC ĐANG MỜI</b></div> <div class="article"> <form id="form" action="form_dangky_dautungoaidanhmuc.php" method="POST"> <p>Mục này dành cho những nhà đầu tư đang tìm kiếm đối tác để đầu tư nhưng chưa tìm được đối tác trong các danh mục đang mời ở mục DỰ ÁN MỜI ĐẦU TƯ. Quý khách có thể điền thông tin vào đơn đăng ký dưới đây với những yêu cầu riêng của mình để chúng tôi có thể liên lạc lại khi có đối tác phù hợp. Chúng tôi khuyến khích các ngân hàng, quỹ đầu tư, các cá nhân trong và ngoài nước đăng ký ở mục này về khả năng đầu tư của mình để IDJ giúp cho việc tìm đối tác.</p> <p>Muốn biết nhiều hơn về các dịch vụ của IDJ, xin vui lòng liên hệ trực tiếp với IDJ</p> <p><span style="color:red">Chú ý</span>: Mọi thông tin quý khách đăng ký được IDJ bảo mật và không công khai tên, địa chỉ cho đối tác đầu tư</p> <fieldset> <legend>Thông tin về người đăng ký:</legend> <div > <label for="name" style="font-size: 0.8em">Họ tên <span>*</span></label> <input id="hoten" name="dk_hoten" /> </div> <div> <label for="address" style="font-size: 0.8em">Chức vụ <span>*</span></label> <input id="chucvu" name="dk_chucvu" /> </div> <div> <label for="address" style="font-size: 0.8em">Số điện thoại <span>*</span></label> <input id="sdt" name="dk_mobile" /> </div> <div> <label for="address" style="font-size: 0.8em">Email <span>*</span></label> <input id="email" name="dk_email" /> </div> <p><span style="color:red">Chú ý</span>: Các mục có dấu (*) là bắt buộc phải nhập thông tin.</p> </fieldset> <fieldset> <legend>Thông tin đăng ký:</legend> <div > <label for="name" style="font-size: 0.8em">Tên công ty (tiếng việt) <span>*</span></label> <input id="tenct" name="dk_tencty" /> </div> <div > <label for="name" style="font-size: 0.8em">Địa chỉ <span>*</span></label> <input id="dcct" name="dk_diachi" /> </div> <div > <label for="name" style="font-size: 0.8em">Số điện thoại <span>*</span></label> <input id="sdtct" name="dk_dienthoai" /> </div> <div> <label for="name" style="font-size: 0.8em">Fax </label> <input id="fax" name="dk_fax" /> </div> <div > <label for="name" style="font-size: 0.8em">Họ tên giám đốc <span>*</span></label> <input id="giamdoc" name="dk_giamdoc" /> </div> <div > <label for="name" style="font-size: 0.8em">Giới thiệu tóm tắt về cá nhân và tổ chức của mình, tiềm năng đầu tư, lĩnh vực đang kinh doanh, kinh nghiệm đầu tư <span>*</span></label> <textarea id="dk_ttatdan" class="rg_textarea" rows="5" cols="30" name="dk_ttatdan" style="width:400px"></textarea> </div> <div > <label for="name" style="font-size: 0.8em">Số tiền có thể đầu tư <span>*</span></label> <input id="sotien" name="sotien" /> </div> <div > <label for="name" style="font-size: 0.8em">Thời hạn đầu tư <span>*</span></label> <input id="sotien" name="sotien" /> </div> </br> <div > <label for="name" style="font-size: 0.8em">Địa phương quý khách quan tâm :</label> <input id="diaphuong" /> </div> <div > <label for="name" style="font-size: 0.8em">Các yêu cầu khác mà doanh nghiệp muốn thông báo thêm cho IDJ</label> <textarea id="gioithieu"cols="50" rows="10" wrap="off"> </textarea> </div> <p><span style="color:red">Chú ý</span>: Các mục có dấu (*) là bắt buộc phải nhập thông tin.</p> </fieldset> <p style="font-size: 0.8em"><input type="checkbox"/>Tôi đã đọc và đồng ý với Quy chế sử dụng và Chính sách bảo mật của website</p> <input type="submit" name="submit" value="Gửi" class="button" /> <input type="submit" name="submit" value="Nhập lại" class="button" /> </FORM> </div> <div class="phan_cach"> <hr /> <a href="#"></a> </div> </div> </div> <div class="right"> <?php include('../widgets/dang_ky.php'); include('../widgets/thue_cho_thue.php'); include('../widgets/tin_tuc_IDJ.php'); include('../widgets/doi_tac.php'); ?> </div> <?php include('../widgets/footer.php'); ?> </div> </body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/dang_ky/DK_dau_tu_ngoai_danh_muc.php
PHP
gpl3
6,369
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Mua bán doanh nghiệp</title> <link rel="stylesheet" type="text/css" href="../css/me.css"> <?php include('../widgets/js_css.php'); ?> </head> <body> <div class="outer"> <?php include('../widgets/banner.php'); include('../widgets/top_menu.php'); ?> <div class="left"> <?php include('../widgets/co_hoi.php'); include('../widgets/tim_kiem_co_hoi_khac.php'); include('../widgets/cac_chuyen_muc_hay.php'); include('../widgets/quang_cao.php'); include('../widgets/tim_kiem.php'); ?> </div> <div class="center"> <div class="start"> <marquee width="100%" scrollamount="5"> SÀN GIAO DỊCH MUA BÁN DOANH NGHIỆP&nbsp;&nbsp;---&nbsp;&nbsp;TÌM KIẾM NGUỒN ĐẦU TƯ, TÍN DỤNG&nbsp;&nbsp;&nbsp;---&nbsp;&nbsp;CƠ HỘI ĐẦU TƯ&nbsp;&nbsp;--- TIN TỨC KINH TẾ CẬP NHẬT --- &nbsp;&nbsp;THUÊ VÀ CHO THUÊ </marquee> </div> <div class="catogory"> <div class="title_catogory"><b>ĐĂNG KÝ ĐẦU TƯ NGOÀI DANH MỤC ĐANG MỜI</b></div> <div class="article"> <form id="form" action="form_dangky_chovayngoaidanhmuc.php" method="POST"> <p>Mục này dành cho những nhà đầu tư đang tìm kiếm đối tác để cho vay vốn nhưng chưa tìm được đối tác trong các danh mục đang mời ở mục CHO VAY VỐN. Quý khách có thể điền thông tin vào đơn đăng ký dưới đây với những yêu cầu riêng của mình để chúng tôi có thể liên lạc lại khi có đối tác phù hợp. Chúng tôi khuyến khích các ngân hàng, quỹ đầu tư, các cá nhân trong và ngoài nước đăng ký ở mục này về khả năng đầu tư của mình để IDJ giúp cho việc tìm đối tác.</p> <p>Muốn biết nhiều hơn về các dịch vụ của IDJ, xin vui lòng liên hệ trực tiếp với IDJ.</p> <p><span style="color:red">Chú ý</span>: Mọi thông tin quý khách đăng ký được IDJ bảo mật và không công khai tên, địa chỉ cho đối tác đầu tư</p> <fieldset> <legend>Thông tin về người đăng ký:</legend> <div > <label for="name" style="font-size: 0.8em">Họ tên <span>*</span></label> <input id="hoten" name="dk_hoten" /> </div> <div> <label for="address" style="font-size: 0.8em">Chức vụ <span>*</span></label> <input id="chucvu" name="dk_chucvu" /> </div> <div> <label for="address" style="font-size: 0.8em">Số điện thoại <span>*</span></label> <input id="sdt" name="dk_mobile" /> </div> <div> <label for="address" style="font-size: 0.8em">Email <span>*</span></label> <input id="email" name="dk_email" /> </div> <p><span style="color:red">Chú ý</span>: Các mục có dấu (*) là bắt buộc phải nhập thông tin.</p> </fieldset> <fieldset> <legend>Thông tin đăng ký:</legend> <div > <label for="name" style="font-size: 0.8em">Tên công ty (tiếng việt) <span>*</span></label> <input id="tenct" name="dk_tencty" /> </div> <div > <label for="name" style="font-size: 0.8em">Địa chỉ <span>*</span></label> <input id="dcct" name="dk_diachi" /> </div> <div > <label for="name" style="font-size: 0.8em">Số điện thoại <span>*</span></label> <input id="sdtct" name="dk_dienthoai" /> </div> <div> <label for="name" style="font-size: 0.8em">Fax </label> <input id="fax" name="dk_fax" /> </div> <div > <label for="name" style="font-size: 0.8em">Họ tên giám đốc <span>*</span></label> <input id="giamdoc" name="dk_giamdoc" /> </div> <div > <label for="name" style="font-size: 0.8em">Giới thiệu tóm tắt về cá nhân và tổ chức của mình, tiềm năng đầu tư, lĩnh vực đang kinh doanh, kinh nghiệm đầu tư <span>*</span></label> <textarea id="dk_ttatdan" class="rg_textarea" rows="5" cols="30" name="dk_ttatdan" style="width:400px"></textarea> </div> <div > <label for="name" style="font-size: 0.8em">Số tiền cho vay <span>*</span></label> <input id="sotien" name="sotien" /> </div> <div > <label for="name" style="font-size: 0.8em">Mức lãi suất kỳ vọng <span>*</span></label> <input id="sotien" name="sotien" /> <p>Lưu ý: Lãi tính theo năm.Mức lãi không quá 3 lần so với mức lãi trung bình của các ngân hàng thương mại trong nước.</p> </div> </br> <div > <label for="name" style="font-size: 0.8em">Lãi xuất có thể chấp nhận:</label> <input id="diaphuong" /> </div> <div > <label for="name" style="font-size: 0.8em">Thời hạn cho vay: <span>*</span></label> <input id="diaphuong" /> </div> <div > <label for="name" style="font-size: 0.8em">Điều kiện yêu cầu về tài sản đảm bảo (thế chấp): </label> <p style="font-size: 0.8em">Có <input type="checkbox"id="diaphuong" /> </p> </div> <div > <label for="name" style="font-size: 0.8em">Các yêu cầu khác mà doanh nghiệp muốn thông báo thêm cho IDJ</label> <textarea id="gioithieu"cols="50" rows="10" wrap="off"> </textarea> </div> <p><span style="color:red">Chú ý</span>: Các mục có dấu (*) là bắt buộc phải nhập thông tin.</p> </fieldset> <p style="font-size: 0.8em"><input type="checkbox"/>Tôi đã đọc và đồng ý với Quy chế sử dụng và Chính sách bảo mật của website</p> <input type="submit" name="submit" value="Gửi" class="button" /> <input type="submit" name="submit" value="Nhập lại" class="button" /> </FORM> </div> <div class="phan_cach"> <hr /> <a href="#"></a> </div> </div> </div> <div class="right"> <?php include('../widgets/dang_ky.php'); include('../widgets/thue_cho_thue.php'); include('../widgets/tin_tuc_IDJ.php'); include('../widgets/doi_tac.php'); ?> </div> <?php include('../widgets/footer.php'); ?> </div> </body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/dang_ky/DK_cho_vay_ngoai_danh_muc.php
PHP
gpl3
6,908
<?php require_once '../DTO/KHACHHANG_DTO.php'; require_once '../DTO/DOANHNGHIEP_DTO.php'; require_once '../classes/xl_khach_hang.php'; require_once '../classes/xl_doanh_nghiep.php'; $kh = new KHACHHANG_DTO(); $xl_kh = new xl_khach_hang(); $dn = new DOANHNGHIEP_DTO(); $xl_dn = new xl_doanh_nghiep(); // thông tin khách hàng $kh->ho_ten = $_POST["dk_hoten"]; $kh->chuc_vu = $_POST["dk_chucvu"]; $kh->dien_thoai = $_POST["dk_mobile"]; $kh->email = $_POST["dk_email"]; //thông tin doanh nghiệp $dn->ten_dn = $_POST['dk_tencty']; $dn->dia_chi = $_POST['dk_diachi']; $dn->dien_thoai = $_POST['dk_dienthoai']; $dn->email = $_POST['dk_email']; $dn->website = $_POST['dk_website']; $dn->ten_giam_doc = $_POST['dk_giamdoc']; $dn->ma_so_thue = $_POST['dk_masothue']; $dn->gioi_thieu = $_POST['dk_ttatdan']; $xl_kh->them_giaodien($kh); $xl_dn->them($dn); //&dk_tencty=&dk_diachi=&dk_dienthoai=&dk_fax=&dk_email2=&dk_website=&dk_giamdoc=&dk_masothue=&dk_ttatdan=&dk_ngayd=&dk_chitietban=&dk_lydo=&dk_ts1=&dk_so1=&dk_ts2=&dk_so2=&dk_ts3=&dk_so3=&dk_ts4=&dk_so4=&dk_tongtien=&dk_tongtien2=&dk_yeucau=&submit=G%E1%BB%ADi&check_send=true&frame=dk1 echo $kh->ho_ten; ?>
10-ptud-v1
trunk/ 10-ptud-v1/dang_ky/form_dangky_bandoanhnghiep.php
PHP
gpl3
1,305
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Mua bán doanh nghiệp</title> <?php include('../widgets/js_css.php'); ?> </head> <body> <div class="outer"> <?php include('../widgets/banner.php'); include('../widgets/top_menu.php'); ?> <div class="left"> <?php include('../widgets/co_hoi.php'); include('../widgets/tim_kiem_co_hoi_khac.php'); include('../widgets/cac_chuyen_muc_hay.php'); include('../widgets/quang_cao.php'); include('../widgets/tim_kiem.php'); ?> </div> <div class="center"> <br /> <div class="title_catogory"><b>ĐĂNG KÝ BÁN DOANH NGHIỆP, DỰ ÁN THÔNG QUA IDJ</b></div> <div style="padding: 5px;"> <p>Cảm ơn quý khách đã ghé thăm website của chúng tôi. Rất mong quý khách điền các thông tin sau <b>Chính xác và đầy đủ</b> để chúng tôi có thể liên hệ lại với Quý khách một cách sớm nhất. </p> <p>Muốn biết nhiều hơn về các dịch vụ của IDJ, xin vui lòng liên hệ trực tiếp với IDJ.<br> <p><span style="color:red">Chú ý</span>: Mọi thông tin quý khách đăng ký được IDJ bảo mật và không công khai tên, địa chỉ cho đối tác đầu tư</p> </p> </div> <div> <h2><b>Bạn đã đăng kí thành công</b></h2> </div> <?php require_once '../DTO/KHACHHANG_DTO.php'; require_once '../DTO/DOANHNGHIEP_DTO.php'; require_once '../classes/xl_khach_hang.php'; require_once '../classes/xl_doanh_nghiep.php'; $kh = new KHACHHANG_DTO(); $xl_kh = new xl_khach_hang(); $dn = new DOANHNGHIEP_DTO(); $xl_dn = new xl_doanh_nghiep(); // thông tin khách hàng $kh->ho_ten = $_POST["dk_hoten"]; $kh->chuc_vu = $_POST["dk_chucvu"]; $kh->dien_thoai = $_POST["dk_mobile"]; $kh->email = $_POST["dk_email"]; //thông tin doanh nghiệp $dn->ten_dn = $_POST['dk_tencty']; $dn->dia_chi = $_POST['dk_diachi']; $dn->dien_thoai = $_POST['dk_dienthoai']; $dn->email = $_POST['dk_email']; $dn->website = $_POST['dk_website']; $dn->ten_giam_doc = $_POST['dk_giamdoc']; $dn->ma_so_thue = $_POST['dk_masothue']; $dn->gioi_thieu = $_POST['dk_ttatdan']; $xl_kh->them_giaodien($kh); $xl_dn->them($dn); //echo $dn->website; ?> </div> <div class="right"> <?php include('../widgets/dang_ky.php'); include('../widgets/thue_cho_thue.php'); include('../widgets/tin_tuc_IDJ.php'); include('../widgets/doi_tac.php'); ?> </div> <?php include('../widgets/footer.php'); ?> </div> <script type="text/javascript"> function dang_ky(){ if($('#dk_hoten').val() == ''){ confirm('Bạn chưa nhập đầy đủ thông tin!!!'); }else if ($('#rule_ok').is('checked') == false) { confirm('Đồng ý với Quy chế sử dụng và Chính sách bảo mật của website!!!'); } } </script> </body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/dang_ky/form_dangky_timnguontindung.php
PHP
gpl3
3,612
<?php class KHACHHANG_DTO { public $ma; public $ho_ten; public $ngay_sinh; public $dia_chi; public $dien_thoai; public $email; public $chuc_vu; public $thong_tin_them; public $trang_thai; } ?>
10-ptud-v1
trunk/ 10-ptud-v1/DTO/KHACHHANG_DTO.php
PHP
gpl3
233
<?php class DUAN_DTO { public $ma ; public $ten_du_an ; public $dia_chi ; public $von_dau_tu ; public $loai_dua_an ; public $thong_tin_chi_tiet ; public $tinh_trang_cap_phep ; public $ngay_cap_phep ; public $thoi_gian_du_kien_cp ; public $ma_phieu_dk ; } ?>
10-ptud-v1
trunk/ 10-ptud-v1/DTO/DUAN_DTO.php
PHP
gpl3
302
<?php class DOANHNGHIEP_DTO { public $ma; public $ten_dn; public $dia_chi; public $dien_thoai; public $ma_so_thue; public $email; public $website; public $gioi_thieu; public $trang_thai; public $loai_hinh_dn; public $tinh_trang_dn; public $gia; public $thong_tin_rieng; public $dia_phuong_quan_tam; } ?>
10-ptud-v1
trunk/ 10-ptud-v1/DTO/DOANHNGHIEP_DTO.php
PHP
gpl3
380
<?php class ThongTinVonDTO { public $ma; public $thoi_han; public $muc_lai_suat; public $von_huy_dong; public $tai_khoan_the_chap; public $trang_thai; } ?>
10-ptud-v1
trunk/ 10-ptud-v1/DTO/THONGTINVON_DTO.php
PHP
gpl3
183
<?php class TAISAN_DTO { public $ma ; public $ten_tai_san; public $dia_chi; public $gia; public $loai_tai_san; public $thong_tin_chi_tiet; public $trang_thai; } ?>
10-ptud-v1
trunk/ 10-ptud-v1/DTO/TAISAN_DTO.php
PHP
gpl3
194
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Mua bán doanh nghiệp</title> <?php include('../widgets/js_css.php'); ?> </head> <body> <div class="outer"> <?php include('../widgets/banner.php'); include('../widgets/top_menu.php'); ?> <div class="left"> <?php include('../widgets/co_hoi.php'); include('../widgets/tim_kiem_co_hoi_khac.php'); include('../widgets/cac_chuyen_muc_hay.php'); include('../widgets/quang_cao.php'); include('../widgets/tim_kiem.php'); ?> </div> <div class="center"> <br /> <table width="98%" cellspacing="0" cellpadding="0" border="0" align="center" id="table5"> <tbody> <tr> <td height="20" bgcolor="#5FA703"> <div style="width: 30px; float: left; padding-left: 2px;"><img src="../upload/images/icon_02.gif" /></div> <div class="pageTitle"> ĐĂNG KÝ BÁN DOANH NGHIỆP, DỰ ÁN THÔNG QUA IDJ </div> </td> </tr> </tbody> </table> <br /> <div style="margin-left: 5px; margin-right: 5px;"> <p>Kính thưa quý khách, rất cảm ơn quý khách đã gửi thông tin đăng ký thông qua Internet. Theo quy định chung để đăng ký bán doanh nghiệp bắt buộc phải đăng ký giao dịch trực tiếp tại VP của IDJ.</p> <p>1/ Phải đóng phí đăng ký 20USD cho một doanh nghiệp muốn bán<br> 2/ Bản đăng ký gốc có chữ ký <br> 3/ Giấy phép đăng ký kinh doanh phù hợp với doanh nghiệp</p> <p>Trong trường hợp quý khách không ở Hà nội và TP Hồ Chí Minh mà không có điều kiện đi lại thì vui lòng chuyển phí và những giấy tờ trên qua đường chuyển phát nhanh tới địa chỉ:</p> <p><span class="style2">CÔNG TY CỔ PHẦN ĐẦU TƯ VÀ PHÁT TRIỂN ĐÔ THỊ QUỐC TẾ</span> <br> <strong>Tp.HàNội</strong>: Tầng 9 Tòa nhà Sun Red River, Số 23 Phan Chu Trinh, Hoàn Kiếm, Hà Nội<br> Tel: (84-4) 3933.5086 -&nbsp;Fax: (84-4) 3933.5087&nbsp; <br> Website: <a href="http://www.idj.com.vn">www.idj.com.vn</a>&nbsp; E-mail: <a href="mailto:idj@vnn.vnn">idj@vnn.vnn</a></p> <p><strong>TP Hồ Chí Minh</strong>: 236 Điện Biên Phủ, Phường 7, Quận 3, TP Hồ Chí Minh.<br> Điện thoại: (84-8) 3932.5568;&nbsp; Fax:&nbsp; (84-8) 3932.5679&nbsp;&nbsp;<br> Email: <a href="mailto:idjsaigon@vnn.vn">idjsaigon@vnn.vn</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p> <p>Chân thành cảm ơn quý khách!</p> </div> </div> <div class="right"> <?php include('../widgets/dang_ky.php'); include('../widgets/thue_cho_thue.php'); include('../widgets/tin_tuc_IDJ.php'); include('../widgets/doi_tac.php'); ?> </div> <?php include('../widgets/footer.php'); ?> </div> </body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/thong_bao/thanh_cong.php
PHP
gpl3
3,608
<?php require_once '../classes/xl_tai_san.php'; $ma_ts = $_GET['ma_ts']; $xl_ts = new xl_tai_san(); $chitiet_ts = $xl_ts->xem($ma_ts); //$stt = 0; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Mua bán doanh nghiệp</title> <?php include('../widgets/js_css.php'); ?> </head> <body> <div class="outer"> <?php include('../widgets/banner.php'); include('../widgets/top_menu.php'); ?> <div class="left"> <?php include('../widgets/co_hoi.php'); include('../widgets/tim_kiem_co_hoi_khac.php'); include('../widgets/cac_chuyen_muc_hay.php'); include('../widgets/quang_cao.php'); include('../widgets/tim_kiem.php'); ?> </div> <div class="center"> <br /> <table width="98%" cellspacing="0" cellpadding="0" border="0" align="center" id="table5"> <tbody> <tr> <td height="20" bgcolor="#5FA703"> <div style="width: 30px; float: left; padding-left: 2px;"><img src="../upload/images/icon_02.gif" /></div> <div class="pageTitle"> CƠ HỘI MUA DOANH NGHIỆP :: DN SẢN XUẤT </div> </td> </tr> </tbody> </table> <br /> <table width="98%" cellspacing="1" cellpadding="5" border="0" bgcolor="#CCCCCC" align="center"> <tbody> <tr> <td width="21%" bgcolor="#FFFFFF" class="ProductTextField">Mã tài sản:</td> <td width="79%" bgcolor="#FFFFFF" class="ProductText"><?php echo $chitiet_ts['ma'] ?></a></td> </tr> <tr> <td width="21%" bgcolor="#FFFFFF" class="ProductTextField">Tài sản cho thuê :</td> <td width="79%" bgcolor="#FFFFFF" class="ProductText"><?php echo $chitiet_ts['ten_tai_san'] ?> </td> </tr> <tr> <td width="21%" bgcolor="#FFFFFF" class="ProductTextField">Giá cho thuê (VNĐ):</td> <td width="79%" bgcolor="#FFFFFF" class="ProductText"> <?php echo $chitiet_ts['gia'] ?></td> </tr> <tr> <td width="21%" bgcolor="#FFFFFF" class="ProductTextField">Địa phương:</td> <td width="79%" bgcolor="#FFFFFF" class="ProductText"><?php echo $chitiet_ts['dia_chi'] ?></td> </tr> <tr> <td width="21%" valign="top" bgcolor="#FFFFFF" class="ProductTextField">Thông tin chi tiết:</td> <td width="79%" bgcolor="#FFFFFF" class="ProductText"><?php echo $chitiet_ts['thong_tin_chi_tiet'] ?> </td> </tr> <tr> <td height="7" bgcolor="#FFFFFF" colspan="2"></td> </tr> <tr> <td bgcolor="#FFFFFF" align="center" colspan="2"> <a href="index.php?frame=dnghiep&amp;mode=mua&amp;id=579"> <img border="0" src="../upload/images/giaodich.gif"> </a> </td> </tr> <tr> <td height="7" bgcolor="#FFFFFF" colspan="2"></td> </tr> </tbody> </table> </div> <div class="right"> <?php include('../widgets/dang_ky.php'); include('../widgets/thue_cho_thue.php'); include('../widgets/tin_tuc_IDJ.php'); include('../widgets/doi_tac.php'); ?> </div> <?php include('../widgets/footer.php'); ?> </div> </body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/cho_thue/chi_tiet_cho_thue.php
PHP
gpl3
3,575
<?php require_once '../classes/xl_tai_san.php'; $ma_lts = $_GET['ma_lts']; $xl_ts = new xl_tai_san(); $tai_san = $xl_ts->danh_sach_theo_loai(0,10,$ma_lts); $stt = 0; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Thuê Tài Sản</title> <?php include('../widgets/js_css.php'); ?> </head> <body> <div class="outer"> <?php include('../widgets/banner.php'); include('../widgets/top_menu.php'); ?> <div class="left"> <?php include('../widgets/co_hoi.php'); include('../widgets/tim_kiem_co_hoi_khac.php'); include('../widgets/cac_chuyen_muc_hay.php'); include('../widgets/quang_cao.php'); include('../widgets/tim_kiem.php'); ?> </div> <div class="center"> <br/> <table width="98%" cellspacing="0" cellpadding="0" border="0" align="center" id="table5"> <tbody> <tr> <td height="20" bgcolor="#5FA703"> <div style="width: 30px; float: left; padding-left: 2px;"><img src="../upload/images/icon_02.gif"/></div> <div class="pageTitle"> DANH SÁCH MỜI CHO THUÊ :: NHÀ Ở </div> </td> </tr> </tbody> </table> <br/> <?php if(count($tai_san)==0) echo "<p align='center'>Đang cập nhật thông tin. Xin mời bạn quay lại sau. </p>"; else { ?> <form style="display:inline" method="post" action="index.php?frame=dnghiep&amp;danhmucid=8" name="frmSearch2"> <table width="98%"> <tbody> <tr> <td bgcolor="#F8F8F8" class="normal_font"> <img src="../upload/images/search_icon.gif"> <input style="width:180px" size="25" class="input" value="" name="keyword2"> <input type="submit" class="button" value="Tìm nhanh" name="button"> <font color="red"><b>Tìm theo mã, tên hoặc theo địa phương</b></font></td> </tr> </tbody> </table> </form> <br/> <table width="590px" cellspacing="1" border="2" align="center" cellpading="2" style="border-collapse: collapse; margin: 0 auto"> <tbody> <tr height="30" bgcolor="#99FF33" style="text-align:center;" > <th width="28">STT</th> <th width="67">Mã SỐ</th> <th width="528">Tài Sản Cho Thuê</th> <th width="111" align="center">Giá Cho Thuê (VNĐ)</th> <th width="122">Địa Phương</th> <th width="81">Xem</th> </tr> <?php foreach($tai_san as $row_ts){ $stt++; ?> <tr bgcolor="#ffffff" style="text-align:center;"> <td width="28" align="right" style="PADDING-RIGHT: 5px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px" class="ProductCart"> <div align="center"><?php echo $stt ?></div> </td> <td width="67" class="ProductCart" style="text-align:center;"> <?php echo $row_ts['ma'] ?> </td> <td width="528" align="center" class=""> <div align="left"> <a href="chi_tiet_mdn.php?ma_ts=<?php echo $row_ts['ma'] ?>" class="mau_tieu_de" style="text-decoration: none;"><?php echo $row_ts['ten_tai_san'] ?></a> </div> <div align="center"></div> </td> <td width="111" align="right" class="ProductPrice"> <?php echo $row_ts['gia'] ?> </td> <td width="122" align="right" class="ProductPrice"> <div align="center"><?php echo $row_ts['dia_chi'] ?></div> </td> <td width="81" align="center"> <a href="chi_tiet_cho_thue.php?ma_ts=<?php echo $row_ts['ma'] ?>" class="detail_cohoi">Chi tiết</a></td> </tr> <?php } ?> </tbody> </table> <?php } ?> </div> <div class="right"> <?php include('../widgets/dang_ky.php'); include('../widgets/thue_cho_thue.php'); include('../widgets/tin_tuc_IDJ.php'); include('../widgets/doi_tac.php'); ?> </div> <?php include('../widgets/footer.php'); ?> </div> </body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/cho_thue/danh_sach_cho_thue.php
PHP
gpl3
5,693
<?php /** * Created by JetBrains PhpStorm. * User: MINHKHANG * Date: 12/9/12 * Time: 1:49 AM * To change this template use File | Settings | File Templates. */
10-ptud-v1
trunk/ 10-ptud-v1/cho_thue/index.php
PHP
gpl3
172
<?php require '../ini.php'; require '../../classes/xl_bo_dem.php'; require '../../classes/xl_hoa_don.php'; $dt_xl_bo_dem = new xl_bo_dem; $dt_xl_hoa_don = new xl_hoa_don; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Admin</title> <!-- CSS --> <!-- Reset Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/reset.css" type="text/css" media="screen" /> <!-- Main Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/style.css" type="text/css" media="screen" /> <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid --> <link rel="stylesheet" href="../skins/sa/resources/css/invalid.css" type="text/css" media="screen" /> <!-- Colour Schemes Default colour scheme is green. Uncomment prefered stylesheet to use it. <link rel="stylesheet" href="../skins/sa/resources/css/blue.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../skins/sa/resources/css/red.css" type="text/css" media="screen" /> --> <!-- Internet Explorer Fixes Stylesheet --> <!--[if lte IE 7]> <link rel="stylesheet" href="../skins/sa/resources/css/ie.css" type="text/css" media="screen" /> <![endif]--> <!-- Javascripts --> <!-- jQuery --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery-1.3.2.min.js"></script> <!-- jQuery Configuration --> <script type="text/javascript" src="../skins/sa/resources/scripts/simpla.jquery.configuration.js"></script> <!-- Facebox jQuery Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/facebox.js"></script> <!-- jQuery WYSIWYG Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery.wysiwyg.js"></script> <!-- Internet Explorer .png-fix --> <!--[if IE 6]> <script type="text/javascript" src="../skins/sa/resources/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> <!-- Begin - Highcharts --> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script type="text/javascript"> $(function () { var chart; $(document).ready(function() { chart = new Highcharts.Chart({ chart: { renderTo: 'container', zoomType: 'xy' }, title: { text: 'Biểu Đồ Thống Kê Lượng Truy Cập - Số phiếu đăng ký' }, subtitle: { text: 'Từ ngày <?php echo date('d-m-Y', strtotime('-6 days'))?> đến ngày <?php echo date('d-m-Y')?>' }, xAxis: [{ categories: [ <?php for($i=6 ; $i>0 ; $i--) { echo "'"; echo date('d-m', strtotime("-$i days")); echo "', "; } echo "'"; echo date('d-m'); echo "'"; ?> ] }], yAxis: [{ // Primary yAxis labels: { formatter: function() { return this.value +' Lượt'; }, style: { color: '#89A54E' } }, title: { text: 'Lượt truy cập', style: { color: '#89A54E' } } }, { // Secondary yAxis title: { text: 'Số phiếu đăng ký', style: { color: '#4572A7' } }, labels: { formatter: function() { return this.value +' PDK'; }, style: { color: '#4572A7' } }, opposite: true }], tooltip: { formatter: function() { return ''+ this.x +': '+ this.y + (this.series.name == 'Số phiếu đăng ký' ? ' PDK' : ' Lượt'); } }, legend: { layout: 'vertical', align: 'left', x: 120, verticalAlign: 'top', y: 100, floating: true, backgroundColor: '#FFFFFF' }, series: [{ name: 'Số phiếu đăng ký', color: '#4572A7', type: 'column', yAxis: 1, data: [ <?php for($i=6 ; $i>0 ; $i--) { $ngay = date('Y-m-d', strtotime("-$i days")); echo $dt_xl_hoa_don->so_luong_theo_ngay($ngay); echo ", "; } $ngay_hien_tai = date('Y-m-d'); echo $dt_xl_hoa_don->so_luong_theo_ngay($ngay_hien_tai); ?> ] }, { name: 'Lượng truy cập', color: '#89A54E', type: 'spline', data: [ <?php for($i=6 ; $i>0 ; $i--) { $ngay = date('Y-m-d', strtotime("-$i days")); echo $dt_xl_bo_dem->so_luong_theo_ngay($ngay); echo ", "; } $ngay_hien_tai = date('Y-m-d'); echo $dt_xl_bo_dem->so_luong_theo_ngay($ngay_hien_tai); ?> ] }] }); }); }); </script> <script src="../js/highcharts.js"></script> <script src="../js/exporting.js"></script> <!-- End - Highcharts --> </head> <body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background --> <?php include '../widgets/sidebar.php'; ?> <!-- End #sidebar --> <div id="main-content"> <!-- Main Content Section with everything --> <?php include '../widgets/noscript.php'; ?> <!-- Page Head --> <!-- End .shortcut-buttons-set --> <div class="clear"></div> <!-- End .clear --> <div class="content-box"><!-- Start Content Box --> <div class="content-box-header"> <h3>Trang chủ</h3> <ul class="content-box-tabs"> <li><a class="default-tab">Trang chủ</a></li> <!-- href must be unique and match the id of target div --> </ul> <div class="clear"></div> </div> <!-- End .content-box-header --> <div class="content-box-content"> <div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab --> <div id="container" style="min-width: 400px; height: 400px; margin: 0 auto"></div> </div> <!-- End #tab1 --> </div> <!-- End .content-box-content --> </div> <!-- End .content-box --> <div class="clear"></div> <?php include '../widgets/footer.php'; ?><!-- End #footer --> </div> <!-- End #main-content --> </div></body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/admin/trang_chu/index.php
PHP
gpl3
7,685
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Simpla Admin</title> <!-- CSS --> <!-- Reset Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/reset.css" type="text/css" media="screen" /> <!-- Main Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/style.css" type="text/css" media="screen" /> <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid --> <link rel="stylesheet" href="../skins/sa/resources/css/invalid.css" type="text/css" media="screen" /> <!-- Colour Schemes Default colour scheme is green. Uncomment prefered stylesheet to use it. <link rel="stylesheet" href="../skins/sa/resources/css/blue.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../skins/sa/resources/css/red.css" type="text/css" media="screen" /> --> <!-- Internet Explorer Fixes Stylesheet --> <!--[if lte IE 7]> <link rel="stylesheet" href="../skins/sa/resources/css/ie.css" type="text/css" media="screen" /> <![endif]--> <!-- Javascripts --> <!-- jQuery --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery-1.3.2.min.js"></script> <!-- jQuery Configuration --> <script type="text/javascript" src="../skins/sa/resources/scripts/simpla.jquery.configuration.js"></script> <!-- Facebox jQuery Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/facebox.js"></script> <!-- jQuery WYSIWYG Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery.wysiwyg.js"></script> <!-- Internet Explorer .png-fix --> <!--[if IE 6]> <script type="text/javascript" src="../skins/sa/resources/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> <?php include '../js/jquery.php'; ?> </head> <body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background --> <?php include '../widgets/sidebar.php' ?> <!-- End #sidebar --> <div id="main-content"> <!-- Main Content Section with everything --> <?php include '../widgets/noscript.php'; ?> <!-- Page Head --> <!-- End .shortcut-buttons-set --> <div class="clear"></div> <!-- End .clear --> <div class="content-box"><!-- Start Content Box --> <div class="content-box-header"> <h3>Thành viên [Thêm]</h3> <ul class="content-box-tabs"> <li><a href="danh_sach.php">Danh sách</a></li> <!-- href must be unique and match the id of target div --> <li><a class="default-tab">Thêm</a></li> </ul> <div class="clear"></div> </div> <!-- End .content-box-header --> <div class="content-box-content"> <div class="tab-content default-tab" id="tab2"> <form action="" method="post"> <fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns --> <table> <tr> <td><label>Họ &amp; Tên <span style="color:red">(*)</span>:</label></td> <td><input class="text-input medium-input" type="text" id="ten" name="ten" /></td> </tr> <tr> <td><label>Tên tài khoản <span style="color:red">(*)</span>:</label></td> <td><input class="text-input medium-input" type="text" id="tai_khoan" name="tai_khoan" /></td> </tr> <tr> <td><label>Mật khẩu <span style="color:red">(*)</span>:</label></td> <td><input class="text-input medium-input" type="password" id="password" name="password" /></td> </tr> <tr> <td><label>Nhập lại mật khẩu <span style="color:red">(*)</span>:</label></td> <td><input class="text-input medium-input" type="password" id="re_password" name="re_password" /></td> </tr> <tr> <td><label>Ngày sinh:</label></td> <td> <input class="text-input medium-input" type="text" id="ngay_sinh" name="ngay_sinh" /> <script> $(function() { $( "#ngay_sinh" ).datepicker({ dateFormat: "dd/mm/yy", changeMonth: true, changeYear: true, showOn: "button", buttonImage: "../images/calendar.gif", buttonImageOnly: true, showAnim: "bounce" }); $( "#ngay_sinh" ).datepicker( $.datepicker.regional[ "vi" ] ); }); </script> </td> </tr> <tr> <td style="vertical-align:middle"><label>Địa chỉ:</label></td> <td><textarea class="text-input textarea" id="dia_chi" name="dia_chi" rows="10"></textarea></td> </tr> <tr> <td><label>Email:</label></td> <td><input class="text-input medium-input" type="text" id="email" name="email" /><br />Ex: aaaaaa@gmail.com</td> </tr> <tr> <td><label>Số điện thoại:</label></td> <td><input class="text-input medium-input" type="text" id="so_dien_thoai" name="so_dien_thoai" /></td> </tr> <tr> <td><label>Tên công ty:</label></td> <td><input class="text-input medium-input" type="text" id="ten_cong_ty" name="ten_cong_ty" /></td> </tr> <tr> <td><label>Mã số thuế:</label></td> <td><input class="text-input medium-input" type="text" id="ma_so_thue" name="ma_so_thue" /></td> </tr> <tr> <td><label>Trạng thái:</label></td> <td> <label><input type="radio" name="hien_thi" /> Hiển thị<br /> <input type="radio" name="khong_hien_thi" /> Không hiển thị</label> </td> </tr> <tr> <td colspan="2" style="padding-left:350px"> <input class="button" type="submit" value="Lưu và thoát" /> <input class="button" type="submit" value="Lưu và tiếp tục" /> <input class="button" type="button" value="Quay về" /> </td> </tr> </table> </fieldset> <div class="clear"></div><!-- End .clear --> </form> </div> <!-- End #tab2 --> </div> <!-- End .content-box-content --> </div> <!-- End .content-box --> <div class="clear"></div> <?php include '../widgets/footer.php'; ?><!-- End #footer --> </div> <!-- End #main-content --> </div></body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/admin/thanh_vien/them.php
PHP
gpl3
8,944
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Cập nhật thành viên</title> <!-- CSS --> <!-- Reset Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/reset.css" type="text/css" media="screen" /> <!-- Main Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/style.css" type="text/css" media="screen" /> <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid --> <link rel="stylesheet" href="../skins/sa/resources/css/invalid.css" type="text/css" media="screen" /> <!-- Colour Schemes Default colour scheme is green. Uncomment prefered stylesheet to use it. <link rel="stylesheet" href="../skins/sa/resources/css/blue.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../skins/sa/resources/css/red.css" type="text/css" media="screen" /> --> <!-- Internet Explorer Fixes Stylesheet --> <!--[if lte IE 7]> <link rel="stylesheet" href="../skins/sa/resources/css/ie.css" type="text/css" media="screen" /> <![endif]--> <!-- Javascripts --> <!-- jQuery --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery-1.3.2.min.js"></script> <!-- jQuery Configuration --> <script type="text/javascript" src="../skins/sa/resources/scripts/simpla.jquery.configuration.js"></script> <!-- Facebox jQuery Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/facebox.js"></script> <!-- jQuery WYSIWYG Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery.wysiwyg.js"></script> <!-- Internet Explorer .png-fix --> <!--[if IE 6]> <script type="text/javascript" src="../skins/sa/resources/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> <?php include '../js/jquery.php'; ?> </head> <body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background --> <?php include '../widgets/sidebar.php' ?> <!-- End #sidebar --> <div id="main-content"> <!-- Main Content Section with everything --> <?php include '../widgets/noscript.php'; ?> <!-- Page Head --> <!-- End .shortcut-buttons-set --> <div class="clear"></div> <!-- End .clear --> <div class="content-box"><!-- Start Content Box --> <div class="content-box-header"> <h3>Thành viên [Cập nhật]</h3> <ul class="content-box-tabs"> <li><a href="danh_sach.php">Danh sách</a></li> <!-- href must be unique and match the id of target div --> <li><a class="default-tab">Cập nhật</a></li> </ul> <div class="clear"></div> </div> <!-- End .content-box-header --> <div class="content-box-content"> <div class="tab-content default-tab" id="tab2"> <form action="" method="post"> <fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns --> <table> <tr> <td><label>Họ &amp; Tên <span style="color:red">(*)</span>:</label></td> <td><input class="text-input medium-input" type="text" id="ten" name="ten" /></td> </tr> <tr> <td><label>Tên tài khoản <span style="color:red">(*)</span>:</label></td> <td><input class="text-input medium-input" type="text" id="tai_khoan" name="tai_khoan" /></td> </tr> <tr> <td><label>Mật khẩu <span style="color:red">(*)</span>:</label></td> <td><input class="text-input medium-input" type="password" id="password" name="password" /></td> </tr> <tr> <td><label>Nhập lại mật khẩu <span style="color:red">(*)</span>:</label></td> <td><input class="text-input medium-input" type="password" id="re_password" name="re_password" /></td> </tr> <tr> <td><label>Ngày sinh:</label></td> <td> <input class="text-input medium-input" type="text" id="ngay_sinh" name="ngay_sinh" /> <script> $(function() { $( "#ngay_sinh" ).datepicker({ dateFormat: "dd/mm/yy", changeMonth: true, changeYear: true, showOn: "button", buttonImage: "../images/calendar.gif", buttonImageOnly: true, showAnim: "bounce" }); $( "#ngay_sinh" ).datepicker( $.datepicker.regional[ "vi" ] ); }); </script> </td> </tr> <tr> <td style="vertical-align:middle"><label>Địa chỉ:</label></td> <td><textarea class="text-input textarea" id="dia_chi" name="dia_chi" rows="10"></textarea></td> </tr> <tr> <td><label>Email:</label></td> <td><input class="text-input medium-input" type="text" id="email" name="email" /><br />Ex: aaaaaa@gmail.com</td> </tr> <tr> <td><label>Số điện thoại:</label></td> <td><input class="text-input medium-input" type="text" id="so_dien_thoai" name="so_dien_thoai" /></td> </tr> <tr> <td><label>Tên công ty:</label></td> <td><input class="text-input medium-input" type="text" id="ten_cong_ty" name="ten_cong_ty" /></td> </tr> <tr> <td><label>Mã số thuế:</label></td> <td><input class="text-input medium-input" type="text" id="ma_so_thue" name="ma_so_thue" /></td> </tr> <tr> <td><label>Trạng thái:</label></td> <td> <label><input type="radio" name="hien_thi" /> Hiển thị<br /> <input type="radio" name="khong_hien_thi" /> Không hiển thị</label> </td> </tr> <tr> <td colspan="2" style="padding-left:350px"> <input class="button" type="submit" value="Lưu và thoát" /> <input class="button" type="submit" value="Lưu và tiếp tục" /> <input class="button" type="button" value="Quay về" /> </td> </tr> </table> </fieldset> <div class="clear"></div><!-- End .clear --> </form> </div> <!-- End #tab2 --> </div> <!-- End .content-box-content --> </div> <!-- End .content-box --> <div class="clear"></div> <?php include '../widgets/footer.php'; ?><!-- End #footer --> </div> <!-- End #main-content --> </div></body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/admin/thanh_vien/cap_nhat.php
PHP
gpl3
8,969
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Simpla Admin</title> <!-- CSS --> <!-- Reset Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/reset.css" type="text/css" media="screen" /> <!-- Main Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/style.css" type="text/css" media="screen" /> <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid --> <link rel="stylesheet" href="../skins/sa/resources/css/invalid.css" type="text/css" media="screen" /> <!-- Colour Schemes Default colour scheme is green. Uncomment prefered stylesheet to use it. <link rel="stylesheet" href="../skins/sa/resources/css/blue.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../skins/sa/resources/css/red.css" type="text/css" media="screen" /> --> <!-- Internet Explorer Fixes Stylesheet --> <!--[if lte IE 7]> <link rel="stylesheet" href="../skins/sa/resources/css/ie.css" type="text/css" media="screen" /> <![endif]--> <!-- Javascripts --> <!-- jQuery --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery-1.3.2.min.js"></script> <!-- jQuery Configuration --> <script type="text/javascript" src="../skins/sa/resources/scripts/simpla.jquery.configuration.js"></script> <!-- Facebox jQuery Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/facebox.js"></script> <!-- jQuery WYSIWYG Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery.wysiwyg.js"></script> <!-- Internet Explorer .png-fix --> <!--[if IE 6]> <script type="text/javascript" src="../skins/sa/resources/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> </head> <body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background --> <?php include '../widgets/sidebar.php'; ?> <!-- End #sidebar --> <div id="main-content"> <!-- Main Content Section with everything --> <?php include '../widgets/noscript.php'; ?> <!-- Page Head --> <!-- End .shortcut-buttons-set --> <div class="clear"></div> <!-- End .clear --> <div class="content-box"><!-- Start Content Box --> <div class="content-box-header"> <h3>Thành viên [Danh sách]</h3> <ul class="content-box-tabs"> <li><a class="default-tab">Danh sách</a></li> <!-- href must be unique and match the id of target div --> <li><a href="them.php">Thêm</a></li> </ul> <div class="clear"></div> </div> <!-- End .content-box-header --> <div class="content-box-content"> <div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab --> <div><span style="font-size:14px"><b>Từ khóa:</b></span> <input class="text-input medium-input" type="text" id="tu_khoa" name="tu_khoa" /> <input class="button" type="submit" value="Tìm kiếm" /> <input class="button" type="submit" value="Tất cả" /> </div> <table> <thead> <tr> <th><input class="check-all" type="checkbox" /></th> <th>Mã</th> <th>Họ &amp; tên</th> <th>Tên tài khoản</th> <th>Email</th> <th>Tên công ty</th> <th>Trạng thái</th> <th>Thao tác</th> </tr> </thead> <tfoot> <tr> <td colspan="6"> <div class="bulk-actions align-left"> <select name="dropdown"> <option value="option1">Choose an action...</option> <option value="option2">Edit</option> <option value="option3">Delete</option> </select> <a class="button" href="#">Apply to selected</a> </div> <div class="pagination"> <a href="#" title="First Page">&laquo; First</a><a href="#" title="Previous Page">&laquo; Previous</a> <a href="#" class="number" title="1">1</a> <a href="#" class="number" title="2">2</a> <a href="#" class="number current" title="3">3</a> <a href="#" class="number" title="4">4</a> <a href="#" title="Next Page">Next &raquo;</a><a href="#" title="Last Page">Last &raquo;</a> </div> <!-- End .pagination --> <div class="clear"></div> </td> </tr> </tfoot> <tbody> <tr> <td><input type="checkbox" /></td> <td>1</td> <td>Nguyễn Như Ngọc</td> <td>aaaaaaaaaa</td> <td>aaaaaaaaaaaaa</td> <td>ssssssssss</td> <td><img width="20px" src="../images/trang_thai_1.png" /></td> <td> <!-- Icons --> <a href="#" title="Edit"><img src="../skins/sa/resources/images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="../skins/sa/resources/images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="../skins/sa/resources/images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a> </td> </tr> <tr> <td><input type="checkbox" /></td> <td>1</td> <td>Nguyễn Như Ngọc</td> <td>aaaaaaaaaa</td> <td>ssssssssssssss</td> <td>ssssssssss</td> <td><img width="20px" src="../images/trang_thai_1.png" /></td> <td> <!-- Icons --> <a href="#" title="Edit"><img src="../skins/sa/resources/images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="../skins/sa/resources/images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="../skins/sa/resources/images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a> </td> </tr> </tbody> </table> </div> <!-- End #tab1 --> </div> <!-- End .content-box-content --> </div> <!-- End .content-box --> <div class="clear"></div> <?php include '../widgets/footer.php'; ?><!-- End #footer --> </div> <!-- End #main-content --> </div></body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/admin/thanh_vien/danh_sach.php
PHP
gpl3
7,228
<?php require '../ini.php'; require '../../classes/xl_cau_hinh.php'; $dt_xl_cau_hinh = new xl_cau_hinh; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Liên hệ [Thông tin]</title> <!-- CSS --> <!-- Reset Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/reset.css" type="text/css" media="screen" /> <!-- Main Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/style.css" type="text/css" media="screen" /> <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid --> <link rel="stylesheet" href="../skins/sa/resources/css/invalid.css" type="text/css" media="screen" /> <!-- Colour Schemes Default colour scheme is green. Uncomment prefered stylesheet to use it. <link rel="stylesheet" href="../skins/sa/resources/css/blue.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../skins/sa/resources/css/red.css" type="text/css" media="screen" /> --> <!-- Internet Explorer Fixes Stylesheet --> <!--[if lte IE 7]> <link rel="stylesheet" href="../skins/sa/resources/css/ie.css" type="text/css" media="screen" /> <![endif]--> <!-- Javascripts --> <!-- jQuery --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery-1.3.2.min.js"></script> <!-- jQuery Configuration --> <script type="text/javascript" src="../skins/sa/resources/scripts/simpla.jquery.configuration.js"></script> <!-- Facebox jQuery Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/facebox.js"></script> <!-- jQuery WYSIWYG Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery.wysiwyg.js"></script> <!-- jQuery CKEDITOR --> <script type="text/javascript" src="../includes/ckeditor/ckeditor.js"></script> <!-- Internet Explorer .png-fix --> <!--[if IE 6]> <script type="text/javascript" src="../skins/sa/resources/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> </head> <body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background --> <?php include '../widgets/sidebar.php'; ?> <!-- End #sidebar --> <div id="main-content"> <!-- Main Content Section with everything --> <?php include '../widgets/noscript.php'; ?> <!-- Page Head --> <!-- End .shortcut-buttons-set --> <div class="clear"></div> <!-- End .clear --> <div class="content-box"><!-- Start Content Box --> <div class="content-box-header"> <h3>Liên hệ [Thông tin]</h3> <ul class="content-box-tabs"> <li><a class="default-tab">Thông tin</a></li> <!-- href must be unique and match the id of target div --> <li><a href="danh_sach.php">Danh sách</a></li> </ul> <div class="clear"></div> </div> <!-- End .content-box-header --> <div class="content-box-content"> <div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab --> <?php include '../widgets/thong_bao.php'; ?> <form action="thong_tin_sm.php" method="post" name="fthong_tin"> <fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns --> <table> <tr> <td style="vertical-align:middle"><label>Nội dung chi tiết:</label></td> <td> <textarea class="text-input textarea" id="noi_dung" name="noi_dung" cols="79" rows="15"><?php $cau_hinh = $dt_xl_cau_hinh->xem('THONG_TIN_LIEN_HE'); echo $cau_hinh['noi_dung']; ?></textarea> <script type="text/javascript"> CKEDITOR.replace('noi_dung'); </script> </td> </tr> <tr> <td colspan="2" style="padding-left:350px"> <input class="button" name="bt_luu_thoat" type="submit" value="Lưu và thoát" onclick="return kiem_tra()" /> <input class="button" name="bt_luu_tieptuc" type="submit" value="Lưu và tiếp tục" onclick="return kiem_tra()" /> <input class="button" name="bt_quay_ve" type="button" value="Quay về" onclick="window.location.href = 'danh_sach.php'" /> </td> </tr> </table> </fieldset> <div class="clear"></div><!-- End .clear --> </form> </div> <!-- End #tab1 --> </div> <!-- End .content-box-content --> </div> <!-- End .content-box --> <div class="clear"></div> <?php include '../widgets/footer.php'; ?><!-- End #footer --> </div> <!-- End #main-content --> </div></body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/admin/lien_he/thong_tin.php
PHP
gpl3
5,930
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Cập nhật liên hệ</title> <!-- CSS --> <!-- Reset Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/reset.css" type="text/css" media="screen" /> <!-- Main Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/style.css" type="text/css" media="screen" /> <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid --> <link rel="stylesheet" href="../skins/sa/resources/css/invalid.css" type="text/css" media="screen" /> <!-- Colour Schemes Default colour scheme is green. Uncomment prefered stylesheet to use it. <link rel="stylesheet" href="../skins/sa/resources/css/blue.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../skins/sa/resources/css/red.css" type="text/css" media="screen" /> --> <!-- Internet Explorer Fixes Stylesheet --> <!--[if lte IE 7]> <link rel="stylesheet" href="../skins/sa/resources/css/ie.css" type="text/css" media="screen" /> <![endif]--> <!-- Javascripts --> <!-- jQuery --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery-1.3.2.min.js"></script> <!-- jQuery Configuration --> <script type="text/javascript" src="../skins/sa/resources/scripts/simpla.jquery.configuration.js"></script> <!-- Facebox jQuery Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/facebox.js"></script> <!-- jQuery WYSIWYG Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery.wysiwyg.js"></script> <!-- Internet Explorer .png-fix --> <!--[if IE 6]> <script type="text/javascript" src="../skins/sa/resources/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> </head> <body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background --> <?php include '../widgets/sidebar.php'; ?> <!-- End #sidebar --> <div id="main-content"> <!-- Main Content Section with everything --> <?php include '../widgets/noscript.php'; ?> <!-- Page Head --> <!-- End .shortcut-buttons-set --> <div class="clear"></div> <!-- End .clear --> <div class="content-box"><!-- Start Content Box --> <div class="content-box-header"> <h3>Liên hệ [Cập nhật]</h3> <ul class="content-box-tabs"> <li><a href="danh_sach.php">Danh sách</a></li> <li><a class="default-tab">Cập nhật</a></li> <!-- href must be unique and match the id of target div --> </ul> <div class="clear"></div> </div> <!-- End .content-box-header --> <div class="content-box-content"> <div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab --> <form action="" method="post"> <fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns --> <table> <tr> <td><label>Hoành độ Google Map:</label></td> <td><input class="text-input medium-input" type="text" id="hoanh_do" name="hoanh_do" /></td> </tr> <tr> <td><label>Tung độ Google Map:</label></td> <td><input class="text-input medium-input" type="text" id="tung_do" name="tung_do" /></td> </tr> <tr> <td style="vertical-align:middle"><label>Nội dung chi tiết:</label></td> <td><textarea class="text-input textarea wysiwyg" id="noi_dung" name="noi_dung" cols="79" rows="15"></textarea></td> </tr> <tr> <td colspan="2" style="padding-left:350px"> <input class="button" type="submit" value="Cập nhật và thoát" /> <input class="button" type="submit" value="Cập nhật và tiếp tục" /> <input class="button" type="button" value="Quay về" /> </td> </tr> </table> </fieldset> <div class="clear"></div><!-- End .clear --> </form> </div> <!-- End #tab1 --> </div> <!-- End .content-box-content --> </div> <!-- End .content-box --> <div class="clear"></div> <?php include '../widgets/footer.php'; ?><!-- End #footer --> </div> <!-- End #main-content --> </div></body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/admin/lien_he/cap_nhat.php
PHP
gpl3
5,641
<?php include '../ini.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Simpla Admin</title> <!-- CSS --> <!-- Reset Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/reset.css" type="text/css" media="screen" /> <!-- Main Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/style.css" type="text/css" media="screen" /> <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid --> <link rel="stylesheet" href="../skins/sa/resources/css/invalid.css" type="text/css" media="screen" /> <!-- Colour Schemes Default colour scheme is green. Uncomment prefered stylesheet to use it. <link rel="stylesheet" href="../skins/sa/resources/css/blue.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../skins/sa/resources/css/red.css" type="text/css" media="screen" /> --> <!-- Internet Explorer Fixes Stylesheet --> <!--[if lte IE 7]> <link rel="stylesheet" href="../skins/sa/resources/css/ie.css" type="text/css" media="screen" /> <![endif]--> <!-- Javascripts --> <!-- jQuery --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery-1.3.2.min.js"></script> <!-- jQuery Configuration --> <script type="text/javascript" src="../skins/sa/resources/scripts/simpla.jquery.configuration.js"></script> <!-- Facebox jQuery Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/facebox.js"></script> <!-- jQuery WYSIWYG Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery.wysiwyg.js"></script> <!-- Internet Explorer .png-fix --> <!--[if IE 6]> <script type="text/javascript" src="../skins/sa/resources/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> </head> <body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background --> <?php include '../widgets/sidebar.php'; ?> <!-- End #sidebar --> <div id="main-content"> <!-- Main Content Section with everything --> <?php include '../widgets/noscript.php'; ?> <!-- Page Head --> <!-- End .shortcut-buttons-set --> <div class="clear"></div> <!-- End .clear --> <div class="content-box"><!-- Start Content Box --> <div class="content-box-header"> <h3>Liên hệ [Danh sách]</h3> <ul class="content-box-tabs"> <li><a href="thong_tin.php">Thông tin</a></li> <!-- href must be unique and match the id of target div --> <li><a class="default-tab">Danh sách</a></li> </ul> <div class="clear"></div> </div> <!-- End .content-box-header --> <div class="content-box-content"> <div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab --> <div><span style="font-size:14px"><b>Từ khóa:</b></span> <input class="text-input medium-input" type="text" id="tu_khoa" name="tu_khoa" /> <input class="button" type="submit" value="Tìm kiếm" /> <input class="button" type="submit" value="Tất cả" /> </div> <table> <thead> <tr> <th><input class="check-all" type="checkbox" /></th> <th>Mã</th> <th>Email</th> <th>Tiêu đề</th> <th>Gửi đến</th> <th>Ngày tạo</th> <th>Trạng thái</th> <th>Thao tác</th> </tr> </thead> <tfoot> <tr> <td colspan="6"> <div class="bulk-actions align-left"> <select name="dropdown"> <option value="option1">Choose an action...</option> <option value="option2">Edit</option> <option value="option3">Delete</option> </select> <a class="button" href="#">Apply to selected</a> </div> <div class="pagination"> <a href="#" title="First Page">&laquo; First</a><a href="#" title="Previous Page">&laquo; Previous</a> <a href="#" class="number" title="1">1</a> <a href="#" class="number" title="2">2</a> <a href="#" class="number current" title="3">3</a> <a href="#" class="number" title="4">4</a> <a href="#" title="Next Page">Next &raquo;</a><a href="#" title="Last Page">Last &raquo;</a> </div> <!-- End .pagination --> <div class="clear"></div> </td> </tr> </tfoot> <tbody> <tr> <td><input type="checkbox" /></td> <td>1</td> <td>aaaaaaaaaaaaa</td> <td>aaaaaaaaaa</td> <td>Phòng chăm sóc khách hàng</td> <td>ssssssssss</td> <td><img width="20px" src="../images/trang_thai_1.png" /></td> <td> <!-- Icons --> <a href="#" title="Edit"><img src="../skins/sa/resources/images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="../skins/sa/resources/images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="../skins/sa/resources/images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a> </td> </tr> <tr> <td><input type="checkbox" /></td> <td>1</td> <td>aaaaaaaaaaaaa</td> <td>aaaaaaaaaa</td> <td>Phòng chăm sóc khách hàng</td> <td>ssssssssss</td> <td><img width="20px" src="../images/trang_thai_1.png" /></td> <td> <!-- Icons --> <a href="#" title="Edit"><img src="../skins/sa/resources/images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="../skins/sa/resources/images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="../skins/sa/resources/images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a> </td> </tr> <tr> <td><input type="checkbox" /></td> <td>1</td> <td>aaaaaaaaaaaaa</td> <td>aaaaaaaaaa</td> <td>Phòng chăm sóc khách hàng</td> <td>ssssssssss</td> <td><img width="20px" src="../images/trang_thai_1.png" /></td> <td> <!-- Icons --> <a href="#" title="Edit"><img src="../skins/sa/resources/images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="../skins/sa/resources/images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="../skins/sa/resources/images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a> </td> </tr> </tbody> </table> </div> <!-- End #tab1 --> </div> <!-- End .content-box-content --> </div> <!-- End .content-box --> <div class="clear"></div> <?php include '../widgets/footer.php'; ?><!-- End #footer --> </div> <!-- End #main-content --> </div></body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/admin/lien_he/danh_sach.php
PHP
gpl3
8,053
<?php require '../ini.php'; require '../../classes/xl_bai_viet.php'; require '../../classes/xl_loai_bai_viet.php'; require '../../classes/pager.php'; $dt_xl_bai_viet = new xl_bai_viet; $dt_xl_loai_bai_viet = new xl_loai_bai_viet; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Bài viết [Thêm]</title> <!-- CSS --> <!-- Reset Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/reset.css" type="text/css" media="screen" /> <!-- Main Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/style.css" type="text/css" media="screen" /> <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid --> <link rel="stylesheet" href="../skins/sa/resources/css/invalid.css" type="text/css" media="screen" /> <!-- Colour Schemes Default colour scheme is green. Uncomment prefered stylesheet to use it. <link rel="stylesheet" href="../skins/sa/resources/css/blue.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../skins/sa/resources/css/red.css" type="text/css" media="screen" /> --> <!-- Internet Explorer Fixes Stylesheet --> <!--[if lte IE 7]> <link rel="stylesheet" href="../skins/sa/resources/css/ie.css" type="text/css" media="screen" /> <![endif]--> <!-- Javascripts --> <!-- jQuery --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery-1.3.2.min.js"></script> <!-- jQuery Configuration --> <script type="text/javascript" src="../skins/sa/resources/scripts/simpla.jquery.configuration.js"></script> <!-- Facebox jQuery Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/facebox.js"></script> <!-- jQuery WYSIWYG Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery.wysiwyg.js"></script> <!-- jQuery CKEDITOR --> <script type="text/javascript" src="../includes/ckeditor/ckeditor.js"></script> <!-- Internet Explorer .png-fix --> <!--[if IE 6]> <script type="text/javascript" src="../skins/sa/resources/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> <script type="text/javascript"> function kiem_tra(){ //Khi có form thì ta sử dụng document.tên form.tên điều khiển //VD: document.fthem.ma_sua.value /* if(document.getElementById('ma_sua').value == ''){ alert('Bạn chưa nhập mã sữa, vui lòng kiểm tra lại!!!'); document.getElementById('ma_sua').focus(); return false; } */ var f = document.fthem; if(f.ma_nguoi_dung.value == ''){ alert('Bạn chưa nhập mã người dùng, vui lòng kiểm tra lại!!!'); f.ma_nguoi_dung.focus(); return false; } if(f.tieu_de.value == ''){ alert('Bạn chưa nhập tiêu đề, vui lòng kiểm tra lại!!!'); f.tieu_de.focus(); return false; } if(f.ngay_tao.value == ''){ alert('Bạn chưa nhập ngày tạo, vui lòng kiểm tra lại!!!'); f.ngay_tao.focus(); return false; } } </script> <?php include '../js/jquery.php'; ?> </head> <body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background --> <?php include '../widgets/sidebar.php' ?> <!-- End #sidebar --> <div id="main-content"> <!-- Main Content Section with everything --> <?php include '../widgets/noscript.php'; ?> <!-- Page Head --> <!-- End .shortcut-buttons-set --> <div class="clear"></div> <!-- End .clear --> <div class="content-box"><!-- Start Content Box --> <div class="content-box-header"> <h3>Bài viết [Thêm]</h3> <ul class="content-box-tabs"> <li><a href="danh_sach.php">Danh sách</a></li> <!-- href must be unique and match the id of target div --> <li><a class="default-tab">Thêm</a></li> </ul> <div class="clear"></div> </div> <!-- End .content-box-header --> <div class="content-box-content"> <div class="tab-content default-tab" id="tab2"> <?php include '../widgets/thong_bao.php'; ?> <form action="them_sm.php" method="post" id="fthem" name="fthem"> <fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns --> <table> <tr> <td><label>Loại bài viết:</label></td> <td> <select name="ma_loai_bai_viet"> <option value="0">--No parent--</option> <?php $ds_loai_bai_viet_all = $dt_xl_loai_bai_viet->danh_sach_all(); foreach($ds_loai_bai_viet_all as $loai_bai_viet) { if ($loai_bai_viet['ma'] == $_SESSION['ma_loai_bai_viet']) { unset($_SESSION['ma_loai_bai_viet']); $chon = 'selected'; } else { $chon = ''; } ?> <option <?php echo $chon ?> value="<?php echo $loai_bai_viet['ma'] ?>"><?php echo $loai_bai_viet['ten'] ?></option> <?php } ?> </select> </td> <tr> <td><label>Mã người dùng:</label></td> <td><input class="text-input medium-input" type="text" id="ma_nguoi_dung" name="ma_nguoi_dung" value="<?php if(isset($_SESSION['USER']['ma'])){ echo $_SESSION['USER']['ma']; }?>" readonly="readonly"/></td> </tr> <tr> <td><label>Tiêu đề:</label></td> <td><input class="text-input medium-input" type="text" id="tieu_de" name="tieu_de" value="<?php if(isset($_SESSION['tieu_de'])){ echo $_SESSION['tieu_de']; unset($_SESSION['tieu_de']); }?>" /></td> </tr> <tr> <td style="vertical-align:middle"><label>Nội dung tóm tắt:</label></td> <td> <textarea class="text-input textarea" id="noi_dung_tom_tat" name="noi_dung_tom_tat" rows="15"><?php if(isset($_SESSION['noi_dung_tom_tat'])){ echo $_SESSION['noi_dung_tom_tat']; unset($_SESSION['noi_dung_tom_tat']); }?></textarea> <script type="text/javascript"> CKEDITOR.replace('noi_dung_tom_tat'); </script> </td> </tr> <tr> <td style="vertical-align:middle"><label>Nội dung chi tiết:</label></td> <td><textarea class="text-input textarea" id="noi_dung_chi_tiet" name="noi_dung_chi_tiet" cols="80" rows="15"><?php if(isset($_SESSION['noi_dung_chi_tiet'])){ echo $_SESSION['noi_dung_chi_tiet']; unset($_SESSION['noi_dung_chi_tiet']); }?></textarea> <script type="text/javascript"> CKEDITOR.replace('noi_dung_chi_tiet'); </script> </td> </tr> <tr> <td><label>Ngày tạo:</label></td> <td> <input class="text-input medium-input" type="text" id="ngay_tao" name="ngay_tao" value="<?php if(isset($_SESSION['ngay_tao'])){ echo $_SESSION['ngay_tao']; unset($_SESSION['ngay_tao']); }?>" /> <script> $(function() { $( "#ngay_tao" ).datepicker({ dateFormat: "dd/mm/yy", changeMonth: true, changeYear: true, showOn: "button", buttonImage: "../images/calendar.gif", buttonImageOnly: true, showAnim: "bounce" }); $( "#ngay_tao" ).datepicker( $.datepicker.regional[ "vi" ] ); }); </script> </td> </tr> <tr> <td><label>Số lần xem:</label></td> <td><input class="text-input medium-input" type="text" id="so_lan_xem" name="so_lan_xem" value="<?php if(isset($_SESSION['so_lan_xem'])){ echo $_SESSION['so_lan_xem']; unset($_SESSION['so_lan_xem']); }?>" /></td> </tr> <tr> <td><label>Trạng thái:</label></td> <td> <label><input type="radio" name="trang_thai" value="1" checked="checked" /> Hiển thị<br /> <input type="radio" name="trang_thai" value="0" /> Không hiển thị</label> </td> </tr> <tr> <td><label>Hình:</label></td> <td><input type="file" id="hinh" name="hinh" /><br /> (*.gif , *.jpg ,*.png < 2000kb) </td> </tr> <tr> <td colspan="2" style="padding-left:350px"> <input class="button" name="bt_luu_thoat" type="submit" value="Lưu và thoát" onclick="return kiem_tra()" /> <input class="button" name="bt_luu_tieptuc" type="submit" value="Lưu và tiếp tục" onclick="return kiem_tra()" /> <input class="button" name="bt_quay_ve" type="button" value="Quay về" onclick="window.location.href = 'danh_sach.php'" /> </td> </tr> </table> </fieldset> <div class="clear"></div><!-- End .clear --> </form> </div> <!-- End #tab2 --> </div> <!-- End .content-box-content --> </div> <!-- End .content-box --> <div class="clear"></div> <?php include '../widgets/footer.php'; ?><!-- End #footer --> </div> <!-- End #main-content --> </div></body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/admin/bai_viet/them.php
PHP
gpl3
12,869
<?php require '../ini.php'; require '../../classes/xl_bai_viet.php'; $dt_xl_bai_viet = new xl_bai_viet; #Kiem tra tham so if (empty($_GET['ma'])) { $_SESSION['msg'] = 'Dữ liệu không hợp lệ !!!'; $_SESSION['type_msg'] = 'error'; header('Location: danh_sach.php'); exit; } #Lay tham so vao $ma = $_GET['ma']; #Kiem tra ma sua $bai_viet = $dt_xl_bai_viet->xem($ma); if ($bai_viet == NULL) { $_SESSION['msg'] = 'Mã không tồn tại !!!'; $_SESSION['type_msg'] = 'error'; header('Location: danh_sach.php'); exit; } #Query $result = $dt_xl_bai_viet->cap_nhat_trang_thai($ma); if ($result == false) { $_SESSION['msg'] = 'Cập nhật trạng thái không thành công !!!'; $_SESSION['type_msg'] = 'error'; header('Location: '.$_SERVER['HTTP_REFERER']); } else { $_SESSION['msg'] = 'Cập nhật trạng thái thành công !!!'; $_SESSION['type_msg'] = 'success'; header('Location: '.$_SERVER['HTTP_REFERER']); exit; } #Dong ket noi $dt_xl_bai_viet->disconnect(); ?>
10-ptud-v1
trunk/ 10-ptud-v1/admin/bai_viet/cap_nhat_trang_thai.php
PHP
gpl3
1,095
<?php require '../ini.php'; require '../../classes/xl_bai_viet.php'; require '../../classes/xl_loai_bai_viet.php'; require '../../classes/xl_thanh_vien.php'; #Khoi tao doi tuong $dt_xl_bai_viet = new xl_bai_viet; $dt_xl_loai_bai_viet = new xl_loai_bai_viet; $dt_xl_thanh_vien = new xl_thanh_vien; #Giu gia tri foreach($_POST as $k => $v) { $_SESSION[$k] = $v; } #Kiem tra tham so if (empty($_POST['ma_nguoi_dung']) || empty($_POST['tieu_de']) || empty($_POST['ngay_tao'])) { $_SESSION['msg'] = 'Dữ liệu không hợp lệ !!!'; $_SESSION['type_msg'] = 'error'; header('Location: '.$_SERVER['HTTP_REFERER']); exit; } #Lay tham so vao $ma = $_POST['ma']; $ma_loai_bai_viet = $_POST['ma_loai_bai_viet']; $ma_nguoi_dung = $_POST['ma_nguoi_dung']; $tieu_de = $_POST['tieu_de']; $noi_dung_tom_tat = $_POST['noi_dung_tom_tat']; $noi_dung_chi_tiet = $_POST['noi_dung_chi_tiet']; $ngay_tao = $_POST['ngay_tao']; $so_lan_xem = $_POST['so_lan_xem']; $trang_thai = $_POST['trang_thai']; $hinh = $_FILES['hinh']['name']; #Kiem tra ma bai viet $bai_viet = $dt_xl_bai_viet->xem($ma); if ($bai_viet == NULL) { $_SESSION['msg'] = 'Bài viết không tồn tại !!!'; $_SESSION['type_msg'] = 'error'; header('Location: '.$_SERVER['HTTP_REFERER']); exit; } #Giu lai hinh cu $hinh_cu = $bai_viet['hinh']; #KIEM TRA MA_LOAI_BAI_VIET CO HOP LE HAY KHONG $loai_bai_viet = $dt_xl_loai_bai_viet->xem($ma_loai_bai_viet); if ($loai_bai_viet == NULL) { $_SESSION['msg'] = 'Loại bài viết không tồn tại !!!'; $_SESSION['type_msg'] = 'error'; header('Location: '.$_SERVER['HTTP_REFERER']); exit; } #KIEM TRA MA_NGUOI_DUNG CO HOP LE HAY KHONG $nguoi_dung = $dt_xl_thanh_vien->xem($ma_nguoi_dung); if ($nguoi_dung == NULL) { $_SESSION['msg'] = 'Người dùng không tồn tại !!!'; $_SESSION['type_msg'] = 'error'; header('Location: '.$_SERVER['HTTP_REFERER']); exit; } #Di chuyen file tu folder temp ve folder upload if (!empty($_FILES['hinh']['name'])) { if ($_FILES['hinh']['error'] != 0) { $_SESSION['msg'] = 'Đã có lỗi trong quá trình upload, vui lòng thử lại !!!'; $_SESSION['type_msg'] = 'error'; header('Location: '.$_SERVER['HTTP_REFERER']); exit; } #Kiem tra duoi hinh anh: jpg: 4kieu, gif: 2kieu, png: 2kieu if ($_FILES['hinh']['type'] != 'image/jpeg' && $_FILES['hinh']['type'] != 'image/jpg' && $_FILES['hinh']['type'] != 'image/gif' && $_FILES['hinh']['type'] != 'image/png') { $_SESSION['msg'] = 'Tập tin hình không đúng định dạng (*.jpg, *.gif, *.png), vui lòng kiểm tra lại !!!'; $_SESSION['type_msg'] = 'error'; header('Location: '.$_SERVER['HTTP_REFERER']); exit; } if ($_FILES['hinh']['size'] > 200000) { $_SESSION['msg'] = 'Tập tin hình không đúng định dạng (&lt;=200kb), vui lòng kiểm tra lại !!!'; $_SESSION['type_msg'] = 'error'; header('Location: '.$_SERVER['HTTP_REFERER']); exit; } $hinh = time().'_'.$_FILES['hinh']['name']; } #Query $result = $dt_xl_bai_viet->cap_nhat($ma,$ma_loai_bai_viet, $ma_nguoi_dung, $tieu_de, $noi_dung_tom_tat, $noi_dung_chi_tiet, $ngay_tao, $so_lan_xem, $trang_thai, $hinh); if ($result == false) { $_SESSION['msg'] = 'Cập nhật không thành công !!!'; $_SESSION['type_msg'] = 'error'; header('Location: '.$_SERVER['HTTP_REFERER']); } else { if (!empty($_FILES['hinh']['name'])) { #Dua hinh moi len move_uploaded_file( $_FILES['hinh']['tmp_name'] , "../../upload/bai_viet/$hinh" ); #Xoa hinh cu unlink('../../upload/bai_viet/'.$hinh_cu); } $_SESSION['msg'] = 'Cập nhật thành công !!!'; $_SESSION['type_msg'] = 'success'; #Kiem tra nut submit la nut nao if(isset($_POST['bt_luu_thoat'])) { header('Location: danh_sach.php'); } elseif(isset($_POST['bt_luu_tieptuc'])) { header('Location: '.$_SERVER['HTTP_REFERER']); } } #Dong ket noi $dt_xl_bai_viet->disconnect(); ?>
10-ptud-v1
trunk/ 10-ptud-v1/admin/bai_viet/cap_nhat_sm.php
PHP
gpl3
4,158
<?php require '../ini.php'; require '../../classes/xl_bai_viet.php'; $dt_xl_bai_viet = new xl_bai_viet; #Dem so phan tu cua mang item $n = count($_POST['item']); #Kiem tra so phan tu trong mang item if ($n == 0) { $_SESSION['msg'] = 'Vui lòng chọn dữ liệu trước khi xóa !!!'; $_SESSION['type_msg'] = 'error'; header('Location: '.$_SERVER['HTTP_REFERER']); exit; } $str = ''; #Thuc hien xoa nhieu for($i = 0; $i<$n; $i++) { $ma = $_POST['item'][$i]; $result = $dt_xl_bai_viet->xoa($ma); if($result == false) { $str .= $ma.','; } } $str = trim($str,','); if($str == '') { $_SESSION['msg'] = 'Xóa thành công !!!'; $_SESSION['type_msg'] = 'success'; header('Location: '.$_SERVER['HTTP_REFERER']); exit; }else { $_SESSION['msg'] = "Mã $str xóa không thành công !!!"; $_SESSION['type_msg'] = 'attention'; header('Location: '.$_SERVER['HTTP_REFERER']); exit; } #Dong ket noi $dt_xl_bai_viet->disconnect(); ?>
10-ptud-v1
trunk/ 10-ptud-v1/admin/bai_viet/xoa_nhieu.php
PHP
gpl3
1,043
<?php require '../ini.php'; require '../../classes/xl_bai_viet.php'; #Khoi tao doi tuong $dt_xl_bai_viet = new xl_bai_viet; #Kiem tra tham so if (empty($_GET['ma'])) { $_SESSION['msg'] = 'Dữ liệu không hợp lệ !!!'; $_SESSION['type_msg'] = 'error'; header('Location: danh_sach.php'); exit; } #Lay tham so vao $ma = $_GET['ma']; #Kiem tra ma bai viet $bai_viet = $dt_xl_bai_viet->xem($ma); if ($bai_viet == NULL) { $_SESSION['msg'] = 'Bài viết không tồn tại !!!'; $_SESSION['type_msg'] = 'error'; header('Location: '.$_SERVER['HTTP_REFERER']); exit; } #Giu lai hinh cu $hinh_cu = $bai_viet['hinh']; #Query $result = $dt_xl_bai_viet->xoa($ma); if ($result == false) { $_SESSION['msg'] = 'Xóa không thành công !!!'; $_SESSION['type_msg'] = 'error'; header('Location: '.$_SERVER['HTTP_REFERER']); } else { #Xoa hinh cu unlink('../../upload/bai_viet/'.$hinh_cu); $_SESSION['msg'] = 'Xóa thành công !!!'; $_SESSION['type_msg'] = 'success'; header('Location: '.$_SERVER['HTTP_REFERER']); exit; } #Dong ket noi $dt_xl_bai_viet->disconnect(); ?>
10-ptud-v1
trunk/ 10-ptud-v1/admin/bai_viet/xoa.php
PHP
gpl3
1,190
<?php require '../ini.php'; require '../../classes/xl_bai_viet.php'; require '../../classes/xl_loai_bai_viet.php'; #Khoi tao doi tuong $dt_xl_bai_viet = new xl_bai_viet; $dt_xl_loai_bai_viet = new xl_loai_bai_viet; #Kiem tra co ton tai ma hay khong if(empty($_GET['ma'])){ $_SESSION['msg'] = 'Dữ liệu không hợp lệ !!!'; $_SESSION['type_msg'] = 'error'; header('Location: danh_sach.php'); exit; } #Doc mot dong trong bang bai_viet trong CSDL $ma = $_GET['ma']; $bai_viet = $dt_xl_bai_viet->xem($ma); #Kiem tra ma co trong CSDL hay khong if($bai_viet == NULL){ $_SESSION['msg'] = 'Mã không tồn tại!!!'; $_SESSION['type_msg'] = 'error'; header('Location: danh_sach.php'); exit; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Bài viết [Cập nhật]</title> <!-- CSS --> <!-- Reset Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/reset.css" type="text/css" media="screen" /> <!-- Main Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/style.css" type="text/css" media="screen" /> <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid --> <link rel="stylesheet" href="../skins/sa/resources/css/invalid.css" type="text/css" media="screen" /> <!-- Colour Schemes Default colour scheme is green. Uncomment prefered stylesheet to use it. <link rel="stylesheet" href="../skins/sa/resources/css/blue.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../skins/sa/resources/css/red.css" type="text/css" media="screen" /> --> <!-- Internet Explorer Fixes Stylesheet --> <!--[if lte IE 7]> <link rel="stylesheet" href="../skins/sa/resources/css/ie.css" type="text/css" media="screen" /> <![endif]--> <!-- Javascripts --> <!-- jQuery --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery-1.3.2.min.js"></script> <!-- jQuery Configuration --> <script type="text/javascript" src="../skins/sa/resources/scripts/simpla.jquery.configuration.js"></script> <!-- Facebox jQuery Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/facebox.js"></script> <!-- jQuery WYSIWYG Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery.wysiwyg.js"></script> <!-- jQuery CKEDITOR --> <script type="text/javascript" src="../includes/ckeditor/ckeditor.js"></script> <!-- Internet Explorer .png-fix --> <!--[if IE 6]> <script type="text/javascript" src="../skins/sa/resources/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> <script type="text/javascript"> function kiem_tra(){ //Khi có form thì ta sử dụng document.tên form.tên điều khiển //VD: document.fthem.ma_sua.value /* if(document.getElementById('ma_sua').value == ''){ alert('Bạn chưa nhập mã sữa, vui lòng kiểm tra lại!!!'); document.getElementById('ma_sua').focus(); return false; } */ var f = document.fcap_nhat; if(f.ma_nguoi_dung.value == ''){ alert('Bạn chưa nhập mã người dùng, vui lòng kiểm tra lại!!!'); f.ma_nguoi_dung.focus(); return false; } if(f.tieu_de.value == ''){ alert('Bạn chưa nhập tiêu đề, vui lòng kiểm tra lại!!!'); f.tieu_de.focus(); return false; } if(f.ngay_tao.value == ''){ alert('Bạn chưa nhập ngày tạo, vui lòng kiểm tra lại!!!'); f.ngay_tao.focus(); return false; } } </script> <?php include '../js/jquery.php'; ?> </head> <body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background --> <?php include '../widgets/sidebar.php' ?> <!-- End #sidebar --> <div id="main-content"> <!-- Main Content Section with everything --> <?php include '../widgets/noscript.php'; ?> <!-- Page Head --> <!-- End .shortcut-buttons-set --> <div class="clear"></div> <!-- End .clear --> <div class="content-box"><!-- Start Content Box --> <div class="content-box-header"> <h3>Bài viết [Cập nhật]</h3> <ul class="content-box-tabs"> <li><a href="danh_sach.php">Danh sách</a></li> <!-- href must be unique and match the id of target div --> <li><a class="default-tab">Cập nhật</a></li> </ul> <div class="clear"></div> </div> <!-- End .content-box-header --> <div class="content-box-content"> <div class="tab-content default-tab" id="tab2"> <?php include '../widgets/thong_bao.php'; ?> <form action="cap_nhat_sm.php" method="post" id="fcap_nhat" name="fcap_nhat"> <input type="hidden" name="ma" value="<?php echo $bai_viet['ma']?>"/> <fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns --> <table> <tr> <td><label>Loại bài viết:</label></td> <td> <select name="ma_loai_bai_viet"> <option value="0">--No parent--</option> <?php $ds_loai_bai_viet_all = $dt_xl_loai_bai_viet->danh_sach_all(); foreach($ds_loai_bai_viet_all as $loai_bai_viet) { if ($loai_bai_viet['ma'] == $_SESSION['ma_loai_bai_viet']) { unset($_SESSION['ma_loai_bai_viet']); $chon = 'selected'; } else { $chon = ''; } ?> <option <?php echo $chon ?> value="<?php echo $loai_bai_viet['ma'] ?>"><?php echo $loai_bai_viet['ten'] ?></option> <?php } ?> </select> </td> <tr> <td><label>Mã người dùng:</label></td> <td><input class="text-input medium-input" type="text" id="ma_nguoi_dung" name="ma_nguoi_dung" value="<?php echo $bai_viet['ma_nguoi_dung']?>"/></td> </tr> <tr> <td><label>Tiêu đề:</label></td> <td><input class="text-input medium-input" type="text" id="tieu_de" name="tieu_de" value="<?php echo $bai_viet['tieu_de']?>" /></td> </tr> <tr> <td style="vertical-align:middle"><label>Nội dung tóm tắt:</label></td> <td> <textarea class="text-input textarea" id="noi_dung_tom_tat" name="noi_dung_tom_tat" rows="15"><?php echo $bai_viet['noi_dung_tom_tat']?></textarea> <script type="text/javascript"> CKEDITOR.replace('noi_dung_tom_tat'); </script> </td> </tr> <tr> <td style="vertical-align:middle"><label>Nội dung chi tiết:</label></td> <td><textarea class="text-input textarea" id="noi_dung_chi_tiet" name="noi_dung_chi_tiet" cols="80" rows="15"><?php echo $bai_viet['noi_dung_chi_tiet']?></textarea> <script type="text/javascript"> CKEDITOR.replace('noi_dung_chi_tiet'); </script> </td> </tr> <tr> <td><label>Ngày tạo:</label></td> <td> <input class="text-input medium-input" type="text" id="ngay_tao" name="ngay_tao" value="<?php echo $bai_viet['ngay_tao']?>" /> <script> $(function() { $( "#ngay_tao" ).datepicker({ dateFormat: "dd/mm/yy", changeMonth: true, changeYear: true, showOn: "button", buttonImage: "../images/calendar.gif", buttonImageOnly: true, showAnim: "bounce" }); $( "#ngay_tao" ).datepicker( $.datepicker.regional[ "vi" ] ); }); </script> </td> </tr> <tr> <td><label>Số lần xem:</label></td> <td><input class="text-input medium-input" type="text" id="so_lan_xem" name="so_lan_xem" value="<?php echo $bai_viet['so_lan_xem']?>" /></td> </tr> <tr> <td><label>Trạng thái:</label></td> <td> <label><input type="radio" name="trang_thai" value="1" checked="checked" /> Hiển thị<br /> <input type="radio" name="trang_thai" value="0" /> Không hiển thị</label> </td> </tr> <tr> <td><label>Hình:</label></td> <td><input type="file" id="hinh" name="hinh" /><br /> <img src="../../upload/bai_viet/<?php echo $bai_viet['hinh']; ?>" width="100" height="100" /><br /> (*.gif , *.jpg ,*.png < 2000kb) </td> </tr> <tr> <td colspan="2" style="padding-left:350px"> <input class="button" name="bt_luu_thoat" type="submit" value="Lưu và thoát" onclick="return kiem_tra()" /> <input class="button" name="bt_luu_tieptuc" type="submit" value="Lưu và tiếp tục" onclick="return kiem_tra()" /> <input class="button" name="bt_quay_ve" type="button" value="Quay về" onclick="window.location.href = 'danh_sach.php'" /> </td> </tr> </table> </fieldset> <div class="clear"></div><!-- End .clear --> </form> </div> <!-- End #tab2 --> </div> <!-- End .content-box-content --> </div> <!-- End .content-box --> <div class="clear"></div> <?php include '../widgets/footer.php'; ?><!-- End #footer --> </div> <!-- End #main-content --> </div></body> </html> <?php $dt_xl_bai_viet->disconnect(); ?>
10-ptud-v1
trunk/ 10-ptud-v1/admin/bai_viet/cap_nhat.php
PHP
gpl3
12,876
<?php require '../ini.php'; require '../../classes/xl_bai_viet.php'; require '../../classes/xl_loai_bai_viet.php'; require '../../classes/xl_thanh_vien.php'; #Khoi tao doi tuong $dt_xl_bai_viet = new xl_bai_viet; $dt_xl_loai_bai_viet = new xl_loai_bai_viet; $dt_xl_thanh_vien = new xl_thanh_vien; #Giu gia tri foreach($_POST as $k => $v) { $_SESSION[$k] = $v; } #Kiem tra tham so if (empty($_POST['ma_loai_bai_viet']) || empty($_POST['ma_nguoi_dung']) || empty($_POST['tieu_de']) || empty($_POST['ngay_tao'])) { $_SESSION['msg'] = 'Dữ liệu không hợp lệ !!!'; $_SESSION['type_msg'] = 'error'; header('Location: them.php'); exit; } #Lay tham so vao $ma_loai_bai_viet = $_POST['ma_loai_bai_viet']; $ma_nguoi_dung = $_POST['ma_nguoi_dung']; $tieu_de = $_POST['tieu_de']; $noi_dung_tom_tat = $_POST['noi_dung_tom_tat']; $noi_dung_chi_tiet = $_POST['noi_dung_chi_tiet']; $ngay_tao = $_POST['ngay_tao']; $so_lan_xem = $_POST['so_lan_xem']; $trang_thai = $_POST['trang_thai']; $hinh = $_FILES['hinh']['name']; #KIEM TRA MA_LOAI_BAI_VIET CO HOP LE HAY KHONG $loai_bai_viet = $dt_xl_loai_bai_viet->xem($ma_loai_bai_viet); if ($loai_bai_viet == NULL) { $_SESSION['msg'] = 'Loại bài viết không tồn tại !!!'; $_SESSION['type_msg'] = 'error'; header('Location: them.php'); exit; } #KIEM TRA MA_NGUOI_DUNG CO HOP LE HAY KHONG $nguoi_dung = $dt_xl_thanh_vien->xem($ma_nguoi_dung); if ($nguoi_dung == NULL) { $_SESSION['msg'] = 'Người dùng không tồn tại !!!'; $_SESSION['type_msg'] = 'error'; header('Location: them.php'); exit; } #Di chuyen file tu folder temp ve folder upload if (!empty($_FILES['hinh']['name'])) { if ($_FILES['hinh']['error'] != 0) { $_SESSION['msg'] = 'Đã có lỗi trong quá trình upload, vui long thử lại !!!'; $_SESSION['type_msg'] = 'error'; header('Location: them.php'); exit; } #Kiem tra duoi file hinh anh: jpg: 4kieu, gif: 2kieu, png: 2kieu if ($_FILES['hinh']['type'] != 'image/jpeg' && $_FILES['hinh']['type'] != 'image/jpg' && $_FILES['hinh']['type'] != 'image/gif' && $_FILES['hinh']['type'] != 'image/png') { $_SESSION['msg'] = 'Tập tin hình không đúng định dạng (*.jpg, *.gif, *.png), vui lòng kiểm tra lại !!!'; $_SESSION['type_msg'] = 'error'; header('Location: them.php'); exit; } if ($_FILES['hinh']['size'] > 200000) { $_SESSION['msg'] = 'Tập tin hình không đúng định dạng (&lt;=200kb), vui lòng kiểm tra lại !!!'; $_SESSION['type_msg'] = 'error'; header('Location: them.php'); exit; } $hinh = time().'_'.$_FILES['hinh']['name']; } #Query $result = $dt_xl_bai_viet->them($ma_loai_bai_viet, $_SESSION['USER']['ma'], $tieu_de, $noi_dung_tom_tat, $noi_dung_chi_tiet, $ngay_tao, $so_lan_xem, $trang_thai, $hinh); if ($result == false) { $_SESSION['msg'] = 'Thêm không thành công !!!'; $_SESSION['type_msg'] = 'error'; header('Location: them.php'); } else { if (!empty($_FILES['hinh']['name'])) { move_uploaded_file( $_FILES['hinh']['tmp_name'] , "../../upload/bai_viet/$hinh" ); } $_SESSION['msg'] = 'Thêm thành công !!!'; $_SESSION['type_msg'] = 'success'; #Kiem tra nut submit la nut nao if(isset($_POST['bt_luu_thoat'])) { header('Location: danh_sach.php'); } elseif(isset($_POST['bt_luu_tieptuc'])) { header('Location: '.$_SERVER['HTTP_REFERER']); } } #Dong ket noi $dt_xl_bai_viet->disconnect(); ?>
10-ptud-v1
trunk/ 10-ptud-v1/admin/bai_viet/them_sm.php
PHP
gpl3
3,646
<?php require '../ini.php'; require '../../classes/xl_bai_viet.php'; require '../../classes/pager.php'; $dt_xl_bai_viet = new xl_bai_viet; $dt_pager = new pager; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Bài viết [Danh sách]</title> <!-- CSS --> <!-- Reset Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/reset.css" type="text/css" media="screen" /> <!-- Main Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/style.css" type="text/css" media="screen" /> <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid --> <link rel="stylesheet" href="../skins/sa/resources/css/invalid.css" type="text/css" media="screen" /> <!-- Cau hinh lai css --> <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" /> <!-- Colour Schemes Default colour scheme is green. Uncomment prefered stylesheet to use it. <link rel="stylesheet" href="../skins/sa/resources/css/blue.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../skins/sa/resources/css/red.css" type="text/css" media="screen" /> --> <!-- Internet Explorer Fixes Stylesheet --> <!--[if lte IE 7]> <link rel="stylesheet" href="../skins/sa/resources/css/ie.css" type="text/css" media="screen" /> <![endif]--> <!-- Javascripts --> <!-- jQuery --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery-1.3.2.min.js"></script> <!-- jQuery Configuration --> <script type="text/javascript" src="../skins/sa/resources/scripts/simpla.jquery.configuration.js"></script> <!-- Facebox jQuery Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/facebox.js"></script> <!-- jQuery WYSIWYG Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery.wysiwyg.js"></script> <!-- Internet Explorer .png-fix --> <!--[if IE 6]> <script type="text/javascript" src="../skins/sa/resources/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> </head> <body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background --> <?php include '../widgets/sidebar.php'; ?> <!-- End #sidebar --> <div id="main-content"> <!-- Main Content Section with everything --> <?php include '../widgets/noscript.php'; ?> <!-- Page Head --> <!-- End .shortcut-buttons-set --> <div class="clear"></div> <!-- End .clear --> <div class="content-box"><!-- Start Content Box --> <div class="content-box-header"> <h3>Bài viết [Danh sách]</h3> <ul class="content-box-tabs"> <li><a class="default-tab">Danh sách</a></li> <!-- href must be unique and match the id of target div --> <li><a href="them.php">Thêm</a></li> </ul> <div class="clear"></div> </div> <!-- End .content-box-header --> <div class="content-box-content"> <div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab --> <?php include '../widgets/thong_bao.php'; ?> <form action="danh_sach.php" method="get"> <div><span style="font-size:14px"><b>Từ khóa:</b></span> <input class="text-input medium-input" type="text" name="tu_khoa" style="width:200px !important" /> <select name="loai_ho_tro"> <option value="-1">Tất cả</option> <option value="0" >Tin thời sự</option> <option value="1" >Tin trong nước</option> </select> <input class="button" type="submit" value="Tìm kiếm" />&nbsp; <input class="button" type="button" value="Tất cả" onclick="window.location.href = 'danh_sach.php'" /> </div> </form> <table> <thead> <tr> <th class="center"><input class="check-all" type="checkbox" /></th> <th class="center">STT</th> <th class="center">Tiêu đề</th> <th class="center">Ngày tạo</th> <th class="center">Số lần xem</th> <th class="center">Trạng thái</th> <th class="center">Hình</th> <th class="center">Thao tác</th> </tr> </thead> <tfoot> <tr> <td colspan="6"> <div class="bulk-actions align-left"> <input class="button" name="bt_xoa_nhieu" type="button" value="Xóa nhiều" onclick="document.fList.submit()" /> </div> <div class="pagination"> <?php #Tim tong so record $tong_so_mau_tin = $dt_xl_bai_viet->so_luong(); #Tim tong so trang $tong_so_trang = $dt_pager->tim_tong_so_trang($tong_so_mau_tin, ADMIN_LIMIT); #In bo nut $dt_pager->in_bo_nut($tong_so_trang); ?> </div> <!-- End .pagination --> <div class="clear"></div> </td> </tr> </tfoot> <form action="xoa_nhieu.php" method="post" name="fList"> <tbody> <?php #Vi tri bat dau (de query vao mysql) $vi_tri = $dt_pager->tim_vi_tri_bat_dau(ADMIN_LIMIT); #Goi ham danh sach de tra ra danh sach can lay $ds_bai_viet = $dt_xl_bai_viet->danh_sach($vi_tri, ADMIN_LIMIT); $i = $vi_tri; foreach($ds_bai_viet as $bai_viet) { if(!is_file($bai_viet['hinh'])){ $bai_viet['hinh'] = 'no_image.jpg'; } ?> <tr> <td class="center"><input type="checkbox" name="item[]" value="<?php echo $bai_viet['ma'] ?>" /></td> <td class="center"><?php echo ++$i ?></td> <td class="center"><a href="#" title="title"><?php echo $bai_viet['tieu_de'] ?></a></td> <td class="center"><?php echo $bai_viet['ngay_tao'] ?></td> <td class="center"><?php echo $bai_viet['so_lan_xem'] ?></td> <td class="center"><a href="cap_nhat_trang_thai.php?ma=<?php echo $bai_viet['ma'] ?>"><img width="20px" src="../images/trang_thai_<?php echo $bai_viet['trang_thai'] ?>.png" /></a></td> <td class="center"><img width="60px" src="../../upload/bai_viet/<?php echo $bai_viet['hinh'] ?>" /></td> <td class="center"> <!-- Icons --> <a href="cap_nhat.php?ma=<?php echo $bai_viet['ma'] ?>" title="Edit"><img src="../skins/sa/resources/images/icons/pencil.png" alt="Edit" /></a> <a href="xoa.php?ma=<?php echo $bai_viet['ma'] ?>" title="Delete" onclick="return confirm('Bạn có chắc chắn muốn xóa không !!!')"><img src="../skins/sa/resources/images/icons/cross.png" alt="Delete" /></a> </td> </tr> <?php } ?> </tbody> </form> </table> </div> <!-- End #tab1 --> </div> <!-- End .content-box-content --> </div> <!-- End .content-box --> <div class="clear"></div> <?php include '../widgets/footer.php'; ?><!-- End #footer --> </div> <!-- End #main-content --> </div></body> </html> <?php $dt_xl_bai_viet->disconnect(); ?>
10-ptud-v1
trunk/ 10-ptud-v1/admin/bai_viet/danh_sach.php
PHP
gpl3
8,582
/* * Facebox (for jQuery) * version: 1.2 (05/05/2008) * @requires jQuery v1.2 or later * * Examples at http://famspam.com/facebox/ * * Licensed under the MIT: * http://www.opensource.org/licenses/mit-license.php * * Copyright 2007, 2008 Chris Wanstrath [ chris@ozmm.org ] * * Usage: * * jQuery(document).ready(function() { * jQuery('a[rel*=facebox]').facebox() * }) * * <a href="#terms" rel="facebox">Terms</a> * Loads the #terms div in the box * * <a href="terms.html" rel="facebox">Terms</a> * Loads the terms.html page in the box * * <a href="terms.png" rel="facebox">Terms</a> * Loads the terms.png image in the box * * * You can also use it programmatically: * * jQuery.facebox('some html') * * The above will open a facebox with "some html" as the content. * * jQuery.facebox(function($) { * $.get('blah.html', function(data) { $.facebox(data) }) * }) * * The above will show a loading screen before the passed function is called, * allowing for a better ajaxy experience. * * The facebox function can also display an ajax page or image: * * jQuery.facebox({ ajax: 'remote.html' }) * jQuery.facebox({ image: 'dude.jpg' }) * * Want to close the facebox? Trigger the 'close.facebox' document event: * * jQuery(document).trigger('close.facebox') * * Facebox also has a bunch of other hooks: * * loading.facebox * beforeReveal.facebox * reveal.facebox (aliased as 'afterReveal.facebox') * init.facebox * * Simply bind a function to any of these hooks: * * $(document).bind('reveal.facebox', function() { ...stuff to do after the facebox and contents are revealed... }) * */ (function($) { $.facebox = function(data, klass) { $.facebox.loading() if (data.ajax) fillFaceboxFromAjax(data.ajax) else if (data.image) fillFaceboxFromImage(data.image) else if (data.div) fillFaceboxFromHref(data.div) else if ($.isFunction(data)) data.call($) else $.facebox.reveal(data, klass) } /* * Public, $.facebox methods */ $.extend($.facebox, { settings: { opacity : 0, overlay : true, loadingImage : 'resources/images/loading.gif', closeImage : 'resources/images/closelabel.gif', imageTypes : [ 'png', 'jpg', 'jpeg', 'gif' ], faceboxHtml : '\ <div id="facebox" style="display:none;"> \ <div class="popup"> \ <table> \ <tbody> \ <tr> \ <td class="tl"/><td class="b"/><td class="tr"/> \ </tr> \ <tr> \ <td class="b"/> \ <td class="body"> \ <div class="content"> \ </div> \ <div class="footer"> \ <a href="#" class="close"> \ <img src="resources/images/closelabel.gif" title="close" class="close_image" /> \ </a> \ </div> \ </td> \ <td class="b"/> \ </tr> \ <tr> \ <td class="bl"/><td class="b"/><td class="br"/> \ </tr> \ </tbody> \ </table> \ </div> \ </div>' }, loading: function() { init() if ($('#facebox .loading').length == 1) return true showOverlay() $('#facebox .content').empty() $('#facebox .body').children().hide().end(). append('<div class="loading"><img src="'+$.facebox.settings.loadingImage+'"/></div>') $('#facebox').css({ top: getPageScroll()[1] + (getPageHeight() / 10), left: 385.5 }).show() $(document).bind('keydown.facebox', function(e) { if (e.keyCode == 27) $.facebox.close() return true }) $(document).trigger('loading.facebox') }, reveal: function(data, klass) { $(document).trigger('beforeReveal.facebox') if (klass) $('#facebox .content').addClass(klass) $('#facebox .content').append(data) $('#facebox .loading').remove() $('#facebox .body').children().fadeIn('normal') $('#facebox').css('left', $(window).width() / 2 - ($('#facebox table').width() / 2)) $(document).trigger('reveal.facebox').trigger('afterReveal.facebox') }, close: function() { $(document).trigger('close.facebox') return false } }) /* * Public, $.fn methods */ $.fn.facebox = function(settings) { init(settings) function clickHandler() { $.facebox.loading(true) // support for rel="facebox.inline_popup" syntax, to add a class // also supports deprecated "facebox[.inline_popup]" syntax var klass = this.rel.match(/facebox\[?\.(\w+)\]?/) if (klass) klass = klass[1] fillFaceboxFromHref(this.href, klass) return false } return this.click(clickHandler) } /* * Private methods */ // called one time to setup facebox on this page function init(settings) { if ($.facebox.settings.inited) return true else $.facebox.settings.inited = true $(document).trigger('init.facebox') makeCompatible() var imageTypes = $.facebox.settings.imageTypes.join('|') $.facebox.settings.imageTypesRegexp = new RegExp('\.' + imageTypes + '$', 'i') if (settings) $.extend($.facebox.settings, settings) $('body').append($.facebox.settings.faceboxHtml) var preload = [ new Image(), new Image() ] preload[0].src = $.facebox.settings.closeImage preload[1].src = $.facebox.settings.loadingImage $('#facebox').find('.b:first, .bl, .br, .tl, .tr').each(function() { preload.push(new Image()) preload.slice(-1).src = $(this).css('background-image').replace(/url\((.+)\)/, '$1') }) $('#facebox .close').click($.facebox.close) $('#facebox .close_image').attr('src', $.facebox.settings.closeImage) } // getPageScroll() by quirksmode.com function getPageScroll() { var xScroll, yScroll; if (self.pageYOffset) { yScroll = self.pageYOffset; xScroll = self.pageXOffset; } else if (document.documentElement && document.documentElement.scrollTop) { // Explorer 6 Strict yScroll = document.documentElement.scrollTop; xScroll = document.documentElement.scrollLeft; } else if (document.body) {// all other Explorers yScroll = document.body.scrollTop; xScroll = document.body.scrollLeft; } return new Array(xScroll,yScroll) } // Adapted from getPageSize() by quirksmode.com function getPageHeight() { var windowHeight if (self.innerHeight) { // all except Explorer windowHeight = self.innerHeight; } else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode windowHeight = document.documentElement.clientHeight; } else if (document.body) { // other Explorers windowHeight = document.body.clientHeight; } return windowHeight } // Backwards compatibility function makeCompatible() { var $s = $.facebox.settings $s.loadingImage = $s.loading_image || $s.loadingImage $s.closeImage = $s.close_image || $s.closeImage $s.imageTypes = $s.image_types || $s.imageTypes $s.faceboxHtml = $s.facebox_html || $s.faceboxHtml } // Figures out what you want to display and displays it // formats are: // div: #id // image: blah.extension // ajax: anything else function fillFaceboxFromHref(href, klass) { // div if (href.match(/#/)) { var url = window.location.href.split('#')[0] var target = href.replace(url,'') $.facebox.reveal($(target).clone().show(), klass) // image } else if (href.match($.facebox.settings.imageTypesRegexp)) { fillFaceboxFromImage(href, klass) // ajax } else { fillFaceboxFromAjax(href, klass) } } function fillFaceboxFromImage(href, klass) { var image = new Image() image.onload = function() { $.facebox.reveal('<div class="image"><img src="' + image.src + '" /></div>', klass) } image.src = href } function fillFaceboxFromAjax(href, klass) { $.get(href, function(data) { $.facebox.reveal(data, klass) }) } function skipOverlay() { return $.facebox.settings.overlay == false || $.facebox.settings.opacity === null } function showOverlay() { if (skipOverlay()) return if ($('facebox_overlay').length == 0) $("body").append('<div id="facebox_overlay" class="facebox_hide"></div>') $('#facebox_overlay').hide().addClass("facebox_overlayBG") .css('opacity', $.facebox.settings.opacity) .click(function() { $(document).trigger('close.facebox') }) .fadeIn(200) return false } function hideOverlay() { if (skipOverlay()) return $('#facebox_overlay').fadeOut(200, function(){ $("#facebox_overlay").removeClass("facebox_overlayBG") $("#facebox_overlay").addClass("facebox_hide") $("#facebox_overlay").remove() }) return false } /* * Bindings */ $(document).bind('close.facebox', function() { $(document).unbind('keydown.facebox') $('#facebox').fadeOut(function() { $('#facebox .content').removeClass().addClass('content') hideOverlay() $('#facebox .loading').remove() }) }) })(jQuery);
10-ptud-v1
trunk/ 10-ptud-v1/admin/skins/sa/resources/scripts/facebox.js
JavaScript
gpl3
9,637
$(document).ready(function(){ //Sidebar Accordion Menu: $("#main-nav li ul").hide(); //Hide all sub menus $("#main-nav li a.current").parent().find("ul").slideToggle("slow"); // Slide down the current menu item's sub menu $("#main-nav li a.nav-top-item").click( // When a top menu item is clicked... function () { $("#main-nav li a.nav-top-item").attr('class', 'nav-top-item'); $(this).attr('class', 'nav-top-item current'); $(this).parent().siblings().find("ul").slideUp("normal"); // Slide up all sub menus except the one clicked $(this).next().slideToggle("normal"); // Slide down the clicked sub menu return false; } ); $("#main-nav li a.no-submenu").click( // When a menu item with no sub menu is clicked... function () { window.location.href=(this.href); // Just open the link instead of a sub menu return false; } ); // Sidebar Accordion Menu Hover Effect: $("#main-nav li .nav-top-item").hover( function () { $(this).stop(); $(this).animate({ paddingRight: "25px" }, 200); }, function () { $(this).stop(); $(this).animate({ paddingRight: "15px" }); } ); //Minimize Content Box $(".content-box-header h3").css({ "cursor":"s-resize" }); // Give the h3 in Content Box Header a different cursor $(".content-box-header-toggled").next().hide(); // Hide the content of the header if it has the class "content-box-header-toggled" $(".content-box-header h3").click( // When the h3 is clicked... function () { $(this).parent().parent().find(".content-box-content").toggle(); // Toggle the Content Box $(this).parent().toggleClass("content-box-header-toggled"); // Give the Content Box Header a special class for styling and hiding $(this).parent().find(".content-box-tabs").toggle(); // Toggle the tabs } ); // Content box tabs: $('.content-box .content-box-content div.tab-content').hide(); // Hide the content divs $('.content-box-content div.default-tab').show(); // Show the div with class "default-tab" $('ul.content-box-tabs li a.default-tab').addClass('current'); // Set the class of the default tab link to "current" //Close button: $(".close").click( function () { $(this).parent().fadeTo(400, 0, function () { // Links with the class "close" will close parent $(this).slideUp(600); }); return false; } ); // Alternating table rows: $('tbody tr:even').addClass("alt-row"); // Add class "alt-row" to even table rows // Check all checkboxes when the one in a table head is checked: $('.check-all').click( function(){ $(this).parent().parent().parent().parent().find("input[type='checkbox']").attr('checked', $(this).is(':checked')); } ) // Initialise Facebox Modal window: $('a[rel*=modal]').facebox(); // Applies modal window to any link with attribute rel="modal" // Initialise jQuery WYSIWYG: $(".wysiwyg").wysiwyg(); });
10-ptud-v1
trunk/ 10-ptud-v1/admin/skins/sa/resources/scripts/simpla.jquery.configuration.js
JavaScript
gpl3
3,086
/** * WYSIWYG - jQuery plugin 0.5 * * Copyright (c) 2008-2009 Juan M Martinez * http://plugins.jquery.com/project/jWYSIWYG * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * $Id: $ */ (function( $ ) { $.fn.document = function() { var element = this[0]; if ( element.nodeName.toLowerCase() == 'iframe' ) return element.contentWindow.document; /* return ( $.browser.msie ) ? document.frames[element.id].document : element.contentWindow.document // contentDocument; */ else return $(this); }; $.fn.documentSelection = function() { var element = this[0]; if ( element.contentWindow.document.selection ) return element.contentWindow.document.selection.createRange().text; else return element.contentWindow.getSelection().toString(); }; $.fn.wysiwyg = function( options ) { if ( arguments.length > 0 && arguments[0].constructor == String ) { var action = arguments[0].toString(); var params = []; for ( var i = 1; i < arguments.length; i++ ) params[i - 1] = arguments[i]; if ( action in Wysiwyg ) { return this.each(function() { $.data(this, 'wysiwyg') .designMode(); Wysiwyg[action].apply(this, params); }); } else return this; } var controls = {}; /** * If the user set custom controls, we catch it, and merge with the * defaults controls later. */ if ( options && options.controls ) { var controls = options.controls; delete options.controls; } var options = $.extend({ html : '<'+'?xml version="1.0" encoding="UTF-8"?'+'><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">STYLE_SHEET</head><body style="font-family: Arial, Helvetica, sans-serif !important; font-size: 13px; height: 100%; line-height: 1.5em !important;">INITIAL_CONTENT</body></html>', css : {}, debug : false, autoSave : true, // http://code.google.com/p/jwysiwyg/issues/detail?id=11 rmUnwantedBr : true, // http://code.google.com/p/jwysiwyg/issues/detail?id=15 brIE : true, controls : {}, messages : {} }, options); options.messages = $.extend(true, options.messages, Wysiwyg.MSGS_EN); options.controls = $.extend(true, options.controls, Wysiwyg.TOOLBAR); for ( var control in controls ) { if ( control in options.controls ) $.extend(options.controls[control], controls[control]); else options.controls[control] = controls[control]; } // not break the chain return this.each(function() { Wysiwyg(this, options); }); }; function Wysiwyg( element, options ) { return this instanceof Wysiwyg ? this.init(element, options) : new Wysiwyg(element, options); } $.extend(Wysiwyg, { insertImage : function( szURL, attributes ) { var self = $.data(this, 'wysiwyg'); if ( self.constructor == Wysiwyg && szURL && szURL.length > 0 ) { if ( attributes ) { self.editorDoc.execCommand('insertImage', false, '#jwysiwyg#'); var img = self.getElementByAttributeValue('img', 'src', '#jwysiwyg#'); if ( img ) { img.src = szURL; for ( var attribute in attributes ) { img.setAttribute(attribute, attributes[attribute]); } } } else { self.editorDoc.execCommand('insertImage', false, szURL); } } }, createLink : function( szURL ) { var self = $.data(this, 'wysiwyg'); if ( self.constructor == Wysiwyg && szURL && szURL.length > 0 ) { var selection = $(self.editor).documentSelection(); if ( selection.length > 0 ) { self.editorDoc.execCommand('unlink', false, []); self.editorDoc.execCommand('createLink', false, szURL); } else if ( self.options.messages.nonSelection ) alert(self.options.messages.nonSelection); } }, setContent : function( newContent ) { var self = $.data(this, 'wysiwyg'); self.setContent( newContent ); self.saveContent(); }, clear : function() { var self = $.data(this, 'wysiwyg'); self.setContent(''); self.saveContent(); }, MSGS_EN : { nonSelection : 'select the text you wish to link' }, TOOLBAR : { bold : { visible : true, tags : ['b', 'strong'], css : { fontWeight : 'bold' } }, italic : { visible : true, tags : ['i', 'em'], css : { fontStyle : 'italic' } }, strikeThrough : { visible : false, tags : ['s', 'strike'], css : { textDecoration : 'line-through' } }, underline : { visible : false, tags : ['u'], css : { textDecoration : 'underline' } }, separator00 : { visible : false, separator : true }, justifyLeft : { visible : false, css : { textAlign : 'left' } }, justifyCenter : { visible : false, tags : ['center'], css : { textAlign : 'center' } }, justifyRight : { visible : false, css : { textAlign : 'right' } }, justifyFull : { visible : false, css : { textAlign : 'justify' } }, separator01 : { visible : false, separator : true }, indent : { visible : false }, outdent : { visible : false }, separator02 : { visible : false, separator : true }, subscript : { visible : false, tags : ['sub'] }, superscript : { visible : false, tags : ['sup'] }, separator03 : { visible : false, separator : true }, undo : { visible : false }, redo : { visible : false }, separator04 : { visible : false, separator : true }, insertOrderedList : { visible : false, tags : ['ol'] }, insertUnorderedList : { visible : false, tags : ['ul'] }, insertHorizontalRule : { visible : false, tags : ['hr'] }, separator05 : { separator : true }, createLink : { visible : true, exec : function() { var selection = $(this.editor).documentSelection(); if ( selection.length > 0 ) { if ( $.browser.msie ) this.editorDoc.execCommand('createLink', true, null); else { var szURL = prompt('URL', 'http://'); if ( szURL && szURL.length > 0 ) { this.editorDoc.execCommand('unlink', false, []); this.editorDoc.execCommand('createLink', false, szURL); } } } else if ( this.options.messages.nonSelection ) alert(this.options.messages.nonSelection); }, tags : ['a'] }, insertImage : { visible : true, exec : function() { if ( $.browser.msie ) this.editorDoc.execCommand('insertImage', true, null); else { var szURL = prompt('URL', 'http://'); if ( szURL && szURL.length > 0 ) this.editorDoc.execCommand('insertImage', false, szURL); } }, tags : ['img'] }, separator06 : { separator : true }, h1mozilla : { visible : true && $.browser.mozilla, className : 'h1', command : 'heading', arguments : ['h1'], tags : ['h1'] }, h2mozilla : { visible : true && $.browser.mozilla, className : 'h2', command : 'heading', arguments : ['h2'], tags : ['h2'] }, h3mozilla : { visible : true && $.browser.mozilla, className : 'h3', command : 'heading', arguments : ['h3'], tags : ['h3'] }, h1 : { visible : true && !( $.browser.mozilla ), className : 'h1', command : 'formatBlock', arguments : ['Heading 1'], tags : ['h1'] }, h2 : { visible : true && !( $.browser.mozilla ), className : 'h2', command : 'formatBlock', arguments : ['Heading 2'], tags : ['h2'] }, h3 : { visible : true && !( $.browser.mozilla ), className : 'h3', command : 'formatBlock', arguments : ['Heading 3'], tags : ['h3'] }, separator07 : { visible : false, separator : true }, cut : { visible : false }, copy : { visible : false }, paste : { visible : false }, separator08 : { separator : true && !( $.browser.msie ) }, increaseFontSize : { visible : true && !( $.browser.msie ), tags : ['big'] }, decreaseFontSize : { visible : true && !( $.browser.msie ), tags : ['small'] }, separator09 : { separator : true }, html : { visible : false, exec : function() { if ( this.viewHTML ) { this.setContent( $(this.original).val() ); $(this.original).hide(); } else { this.saveContent(); $(this.original).show(); } this.viewHTML = !( this.viewHTML ); } }, removeFormat : { visible : true, exec : function() { this.editorDoc.execCommand('removeFormat', false, []); this.editorDoc.execCommand('unlink', false, []); } } } }); $.extend(Wysiwyg.prototype, { original : null, options : {}, element : null, editor : null, init : function( element, options ) { var self = this; this.editor = element; this.options = options || {}; $.data(element, 'wysiwyg', this); var newX = element.width || element.clientWidth; var newY = element.height || element.clientHeight; if ( element.nodeName.toLowerCase() == 'textarea' ) { this.original = element; if ( newX == 0 && element.cols ) newX = ( element.cols * 8 ) + 21; if ( newY == 0 && element.rows ) newY = ( element.rows * 16 ) + 16; var editor = this.editor = $('<iframe></iframe>').css({ minHeight : ( newY - 6 ).toString() + 'px', width : ( newX - 8 ).toString() + 'px' }).attr('id', $(element).attr('id') + 'IFrame'); if ( $.browser.msie ) { this.editor .css('height', ( newY ).toString() + 'px'); /** var editor = $('<span></span>').css({ width : ( newX - 6 ).toString() + 'px', height : ( newY - 8 ).toString() + 'px' }).attr('id', $(element).attr('id') + 'IFrame'); editor.outerHTML = this.editor.outerHTML; */ } } var panel = this.panel = $('<ul></ul>').addClass('panel'); this.appendControls(); this.element = $('<div></div>').css({ width : ( newX > 0 ) ? ( newX ).toString() + 'px' : '100%' }).addClass('wysiwyg') .append(panel) .append( $('<div><!-- --></div>').css({ clear : 'both' }) ) .append(editor); $(element) // .css('display', 'none') .hide() .before(this.element); this.viewHTML = false; this.initialHeight = newY - 8; /** * @link http://code.google.com/p/jwysiwyg/issues/detail?id=52 */ this.initialContent = $(element).val(); this.initFrame(); if ( this.initialContent.length == 0 ) this.setContent(''); if ( this.options.autoSave ) $('form').submit(function() { self.saveContent(); }); $('form').bind('reset', function() { self.setContent( self.initialContent ); self.saveContent(); }); }, initFrame : function() { var self = this; var style = ''; /** * @link http://code.google.com/p/jwysiwyg/issues/detail?id=14 */ if ( this.options.css && this.options.css.constructor == String ) style = '<link rel="stylesheet" type="text/css" media="screen" href="' + this.options.css + '" />'; this.editorDoc = $(this.editor).document(); this.editorDoc_designMode = false; try { this.editorDoc.designMode = 'on'; this.editorDoc_designMode = true; } catch ( e ) { // Will fail on Gecko if the editor is placed in an hidden container element // The design mode will be set ones the editor is focused $(this.editorDoc).focus(function() { self.designMode(); }); } this.editorDoc.open(); this.editorDoc.write( this.options.html .replace(/INITIAL_CONTENT/, this.initialContent) .replace(/STYLE_SHEET/, style) ); this.editorDoc.close(); this.editorDoc.contentEditable = 'true'; if ( $.browser.msie ) { /** * Remove the horrible border it has on IE. */ setTimeout(function() { $(self.editorDoc.body).css('border', 'none'); }, 0); } $(this.editorDoc).click(function( event ) { self.checkTargets( event.target ? event.target : event.srcElement); }); /** * @link http://code.google.com/p/jwysiwyg/issues/detail?id=20 */ $(this.original).focus(function() { $(self.editorDoc.body).focus(); }); if ( this.options.autoSave ) { /** * @link http://code.google.com/p/jwysiwyg/issues/detail?id=11 */ $(this.editorDoc).keydown(function() { self.saveContent(); }) .keyup(function() { self.saveContent(); }) .mousedown(function() { self.saveContent(); }); } if ( this.options.css ) { setTimeout(function() { if ( self.options.css.constructor == String ) { /** * $(self.editorDoc) * .find('head') * .append( * $('<link rel="stylesheet" type="text/css" media="screen" />') * .attr('href', self.options.css) * ); */ } else $(self.editorDoc).find('body').css(self.options.css); }, 0); } $(this.editorDoc).keydown(function( event ) { if ( $.browser.msie && self.options.brIE && event.keyCode == 13 ) { var rng = self.getRange(); rng.pasteHTML('<br />'); rng.collapse(false); rng.select(); return false; } }); }, designMode : function() { if ( !( this.editorDoc_designMode ) ) { try { this.editorDoc.designMode = 'on'; this.editorDoc_designMode = true; } catch ( e ) {} } }, getSelection : function() { return ( window.getSelection ) ? window.getSelection() : document.selection; }, getRange : function() { var selection = this.getSelection(); if ( !( selection ) ) return null; return ( selection.rangeCount > 0 ) ? selection.getRangeAt(0) : selection.createRange(); }, getContent : function() { return $( $(this.editor).document() ).find('body').html(); }, setContent : function( newContent ) { $( $(this.editor).document() ).find('body').html(newContent); }, saveContent : function() { if ( this.original ) { var content = this.getContent(); if ( this.options.rmUnwantedBr ) content = ( content.substr(-4) == '<br>' ) ? content.substr(0, content.length - 4) : content; $(this.original).val(content); } }, appendMenu : function( cmd, args, className, fn ) { var self = this; var args = args || []; $('<li></li>').append( $('<a><!-- --></a>').addClass(className || cmd) ).mousedown(function() { if ( fn ) fn.apply(self); else self.editorDoc.execCommand(cmd, false, args); if ( self.options.autoSave ) self.saveContent(); }).appendTo( this.panel ); }, appendMenuSeparator : function() { $('<li class="separator"></li>').appendTo( this.panel ); }, appendControls : function() { for ( var name in this.options.controls ) { var control = this.options.controls[name]; if ( control.separator ) { if ( control.visible !== false ) this.appendMenuSeparator(); } else if ( control.visible ) { this.appendMenu( control.command || name, control.arguments || [], control.className || control.command || name || 'empty', control.exec ); } } }, checkTargets : function( element ) { for ( var name in this.options.controls ) { var control = this.options.controls[name]; var className = control.className || control.command || name || 'empty'; $('.' + className, this.panel).removeClass('active'); if ( control.tags ) { var elm = element; do { if ( elm.nodeType != 1 ) break; if ( $.inArray(elm.tagName.toLowerCase(), control.tags) != -1 ) $('.' + className, this.panel).addClass('active'); } while ( elm = elm.parentNode ); } if ( control.css ) { var elm = $(element); do { if ( elm[0].nodeType != 1 ) break; for ( var cssProperty in control.css ) if ( elm.css(cssProperty).toString().toLowerCase() == control.css[cssProperty] ) $('.' + className, this.panel).addClass('active'); } while ( elm = elm.parent() ); } } }, getElementByAttributeValue : function( tagName, attributeName, attributeValue ) { var elements = this.editorDoc.getElementsByTagName(tagName); for ( var i = 0; i < elements.length; i++ ) { var value = elements[i].getAttribute(attributeName); if ( $.browser.msie ) { /** IE add full path, so I check by the last chars. */ value = value.substr(value.length - attributeValue.length); } if ( value == attributeValue ) return elements[i]; } return false; } }); })(jQuery);
10-ptud-v1
trunk/ 10-ptud-v1/admin/skins/sa/resources/scripts/jquery.wysiwyg.js
JavaScript
gpl3
22,844
a { color: #bb0000; } .button { background: #950000 url('../images/bg-button-red.gif') top left repeat-x !important; border-color: #940000 !important; } #sidebar #main-nav li a.nav-top-item { background: transparent url('../images/bg-menu-item-red.gif') right center no-repeat; } ul.content-box-tabs li a:hover { color: #bb0000; } .pagination a.current { background: #950000 url('../images/bg-button-red.gif') top left repeat-x !important; border-color: #940000 !important; } .action-button span:hover { color: #bb0000; }
10-ptud-v1
trunk/ 10-ptud-v1/admin/skins/sa/resources/css/red.css
CSS
gpl3
805
a { color: #0078cc; } .button { background: #004a95 url('../images/bg-button-blue.gif') top left repeat-x !important; border-color: #004994 !important; } #sidebar #main-nav li a.nav-top-item { background: transparent url('../images/bg-menu-item-blue.gif') right center no-repeat; } ul.content-box-tabs li a:hover { color: #0078cc; } .pagination a.current { background: #004a95 url('../images/bg-button-blue.gif') top left repeat-x !important; border-color: #004994 !important; } .action-button span:hover { color: #0078cc;0; }
10-ptud-v1
trunk/ 10-ptud-v1/admin/skins/sa/resources/css/blue.css
CSS
gpl3
799
/******************************** Basic Structure ********************************/ html { font-size: 100%; height: 100%; margin-bottom: 1px; /* Always show a scrollbar to avoid jumping when the scrollbar appears */ } body { font-family: Arial, Helvetica, sans-serif; color: #555; background: #f0f0f0 url('../images/bg-body.gif') top left repeat-y; font-size: 12px; } #body-wrapper { background: url('../images/bg-radial-gradient.gif') fixed 230px top no-repeat; } /******************************** Elements styling ********************************/ h1, h2, h3, h4, h5, h6 { font-family: Helvetica, Arial, sans-serif; color: #222; font-weight: bold; } h1 { font-family: Calibri, Helvetica, Arial, sans-serif; font-size: 31px; font-weight: bold; color: #fff; position: absolute; top: -1000px; /* Remove this line and delete the logo (in the HTML) if you don't want an image as a logo */ } h2 { font-size: 26px; padding: 0 0 10px 0; } h3 { font-size: 17px; padding: 0 0 10px 0; } h4 { font-size: 16px; padding: 0 0 5px 0; } h5 { font-size: 14px; padding: 0 0 5px 0; } h6 { font-size: 12px; padding: 0 0 5px 0; } a { color: #57a000; text-decoration: none; } a:hover { color: #000; } a:active { color: #777; } a:focus { outline: 1px; } strong { font-weight: bold; color: #333; } small { font-size: 0.85em; } pre { font-family: monospace; } p { padding: 5px 0 10px 0; line-height: 1.6em; } /******************************** General Classes ********************************/ .clear { clear: both; } .align-left { float: left; } .align-right { float: right; } /************ Button ************/ .button { font-family: Verdana, Arial, sans-serif; display: inline-block; background: #459300 url('../images/bg-button-green.gif') top left repeat-x !important; border: 1px solid #459300 !important; padding: 4px 7px 4px 7px !important; color: #fff !important; font-size: 11px !important; cursor: pointer; } .button:hover { text-decoration: underline; } .button:active { padding: 5px 7px 3px 7px !important; } a.remove-link { color: #bb0000; } a.remove-link:hover { color: #000; } /******************************** Sidebar ********************************/ #sidebar { background: url('../images/bg-sidebar.gif') top left no-repeat; width: 230px; height: 100%; position: absolute; left: 0; top: 0; color: #888; font-size: 11px; } #sidebar #sidebar-wrapper { margin: 0 0 0 9px; } #sidebar a, #sidebar a:active { color:#ccc; } #sidebar a:hover { color:#fff; } #sidebar #sidebar-title { margin: 40px 0 40px 15px; } #sidebar #logo { margin: 40px 0 40px 0; } #sidebar #profile-links { padding: 0 15px 20px 15px; text-align: right; line-height: 1.5em; } /************ Sidebar Accordion Menu ************/ #sidebar #main-nav { width: 206px; padding: 0; margin: 0 0 0 15px; font-family: Helvetica, Arial, sans-serif; } #sidebar #main-nav li { list-style: none; padding-bottom: 10px; text-align: right; } #sidebar #main-nav li a.nav-top-item { background: transparent url('../images/bg-menu-item-green.gif') right center no-repeat; /* Background image for default color scheme - green */ padding: 10px 15px; color: #fff; font-size: 14px; cursor: pointer; display: block; text-decoration: none; } #sidebar #main-nav li a.current { background-image: url('../images/bg-menu-item-current.gif') !important; color: #333; font-weight: bold; } #sidebar #main-nav li a.current:hover { color: #333; } #sidebar #main-nav ul { padding: 0; font-size: 12px; margin: 0; } #sidebar #main-nav ul li { list-style: none; margin: 0; text-align: right; padding: 0; } #sidebar #main-nav ul li a { padding: 8px 15px; display: block; color: #aaa; font-size: 13px; line-height: 1.2em; } #sidebar #main-nav ul li a:hover, #sidebar #main-nav ul li a.current, #sidebar #main-nav ul li a.current:hover { color: #fff; } #sidebar #main-nav ul li a.current { background: transparent url('../images/menu-current-arrow.gif') right center no-repeat !important; } /************ Messages ************/ #messages p, #messages form { border-top: 1px solid #ddd; padding: 10px 0; } #messages h4 { padding: 10px 0; } #messages fieldset { margin: 0; } #messages textarea { margin: 0 0 15px 0; } /******************************** Main Content ********************************/ /************ Layout ************/ #main-content { margin: 0 30px 0 260px; padding: 40px 0 0 0; } .column-left { width: 48%; float: left; } .column-right { width: 48%; float: right; } #page-intro { font-size: 17px; padding: 0 0 20px 0; } #footer { border-top: 1px solid #ccc; margin: 40px 0 0 0; padding: 20px 0; font-size: 12px; } /************ Lists ************/ #main-content ul, #main-content ol { padding: 10px 0; } /* Unordered List */ #main-content ul li { background: url('../images/icons/bullet_black.png') center left no-repeat; padding: 4px 0 4px 20px; } /* Ordered List */ #main-content ol { padding: 0 0 0 24px; } #main-content ol li { list-style: decimal; padding: 4px 0; } /*************** Content Box ***************/ .content-box { border: 1px solid #ccc; margin: 0 0 20px 0; background: #fff; } .content-box-header { background: #e5e5e5 url('../images/bg-content-box.gif') top left repeat-x; margin-top: 1px; height: 40px; } .content-box-header h3 { padding: 12px 15px 10px; float: left; } ul.content-box-tabs { float: right; padding: 12px 15px 0 0 !important; margin: 0 !important; } ul.content-box-tabs li { float: left; margin: 0; padding: 0 !important; background-image: none !important; } ul.content-box-tabs li a { color: #333; padding: 8px 10px; display: block; margin: 1px; border-bottom: 0; } ul.content-box-tabs li a:hover { color: #57a000; } ul.content-box-tabs li a.current { background: #fff; border: 1px solid #ccc; border-bottom: 0; margin: 0; } .content-box-content { padding: 20px; font-size: 13px; border-top: 1px solid #ccc; } /************ Table ************/ #main-content table { width: 100%; border-collapse: collapse; } #main-content table thead th { font-weight: bold; font-size: 15px; border-bottom: 1px solid #ddd; } #main-content tbody { border-bottom: 1px solid #ddd; } #main-content tbody tr { background: #fff; } #main-content tbody tr.alt-row { background: #f3f3f3; } #main-content table td, #main-content table th { padding: 10px; line-height: 1.3em; } #main-content table tfoot td .bulk-actions { padding: 15px 0 5px 0; } #main-content table tfoot td .bulk-actions select { padding: 4px; border: 1px solid #ccc; } /*************** Pagination ***************/ #main-content .pagination { text-align: right; padding: 20px 0 5px 0; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; } .pagination a { margin: 0 5px 0 0; padding: 3px 6px; } .pagination a.number { border: 1px solid #ddd; } .pagination a.current { background: #469400 url('../images/bg-button-green.gif') top left repeat-x !important; border-color: #459300 !important; color: #fff !important; } .pagination a.current:hover { text-decoration: underline; } /************ Shortcut Buttons ************/ .shortcut-button { border: 1px solid #ccc; background: #f7f7f7 url('../images/shortcut-button-bg.gif') top left no-repeat; display: block; width: 120px; margin: 0 0 20px 0; } .shortcut-button span { background-position: center 15px; background-repeat: no-repeat; border: 1px solid #fff; display:block; padding: 78px 10px 15px 10px; text-align: center; color: #555; font-size: 13px; line-height: 1.3em; } .new-article span { background-image: url('../images/icons/pencil_48.png'); } .new-page span { background-image: url('../images/icons/paper_content_pencil_48.png'); } .upload-image span { background-image: url('../images/icons/image_add_48.png'); } .add-event span { background-image: url('../images/icons/clock_48.png'); } .manage-comments span { background-image: url('../images/icons/comment_48.png'); } .shortcut-button:hover { background: #fff; } .shortcut-button span:hover { color: #57a000; } ul.shortcut-buttons-set li { float: left; margin: 0 15px 0 0; padding: 0 !important; background: 0; } /*************** Forms ***************/ form label { display: block; padding: 0 0 10px; font-weight: bold; } form fieldset legend { font-weight: bold; margin-bottom: 10px; padding-top: 10px; } form p small { font-size: 0.75em; color: #777; } form input.text-input, form select, form textarea, form .wysiwyg { padding: 6px; font-size: 13px; background: #fff url('../images/bg-form-field.gif') top left repeat-x; border: 1px solid #d5d5d5; color: #333; } form .small-input { width: 25% !important; } form .medium-input { width: 50% !important; } form .large-input { width: 97.5% !important; font-size: 16px !important; padding: 8px !important; } form textarea { width: 97.5% !important; font-family: Arial, Helvetica, sans-serif; } form select { padding: 4px; background: #fff; } form input[type="checkbox"], form input[type="radio"] { padding: 0; background: none; border: 0; } /*************** Notifications ***************/ .notification { position: relative; margin: 0 0 15px 0; padding: 0; border: 1px solid; background-position: 10px 11px !important; background-repeat: no-repeat !important; font-size: 13px; width: 99.8%; } .attention { background: #fffbcc url('../images/icons/exclamation.png') 10px 11px no-repeat; border-color: #e6db55; color: #666452; } .information { background: #dbe3ff url('../images/icons/information.png'); border-color: #a2b4ee; color: #585b66; } .success { background: #d5ffce url('../images/icons/tick_circle.png'); border-color: #9adf8f; color: #556652; } .error { background: #ffcece url('../images/icons/cross_circle.png'); border-color: #df8f8f; color: #665252; } .notification div { display:block; font-style:normal; padding: 10px 10px 10px 36px; line-height: 1.5em; } .notification .close { color:#990000; font-size:9px; position:absolute; right:5px; top:5px; } /* Notification for form inputs */ .input-notification { background-position: left 2px; background-repeat: no-repeat; padding: 2px 0 2px 22px; background-color: transparent; margin: 0 0 0 5px; } /* Notification for login page */ #login-wrapper #login-content .notification { border: 0; background-color: #141414; color: #fff !important; } /******************************** Login Page ********************************/ body#login { color: #fff; background: #222 url('../images/bg-login.gif'); } #login-wrapper { background: url('../images/bg-login-top.png') top left repeat-x; } #login-wrapper #login-top { width: 100%; padding: 140px 0 50px 0; text-align: center; } #login-wrapper #login-content { text-align: left; width: 300px; margin: 0 auto; } #login-wrapper #login-content label { color: #fff; font-weight: normal; font-size: 14px; font-family: Helvetica, Arial, sans-serif; float: left; width: 70px; padding: 0; } #login-wrapper #login-content input { width: 200px; float: right; margin: 0 0 20px 0; border: 0; background: #fff; } #login-wrapper #login-content p { padding: 0; } #login-wrapper #login-content p#remember-password { float: right; } #login-wrapper #login-content p#remember-password input { float: none; width: auto; border: 0; background: none; margin: 0 10px 0 0; } #login-wrapper #login-content p .button { width: auto; margin-top: 20px; } /******************************** jQuery plugins styles ********************************/ /*************** Facebox ***************/ #facebox .b { background:url(../images/b.png); } #facebox .tl { background:url(../images/tl.png); } #facebox .tr { background:url(../images/tr.png); } #facebox .bl { background:url(../images/bl.png); } #facebox .br { background:url(../images/br.png); } #facebox { position: absolute; top: 0; left: 0; z-index: 100; text-align: left; } #facebox .popup { position: relative; } #facebox table { border-collapse: collapse; } #facebox td { border-bottom: 0; padding: 0; } #facebox .body { padding: 10px; background: #fff; width: 370px; } #facebox .loading { text-align: center; } #facebox .image { text-align: center; } #facebox img { border: 0; margin: 0; } #facebox .footer { border-top: 1px solid #DDDDDD; padding-top: 5px; margin-top: 10px; text-align: right; } #facebox .tl, #facebox .tr, #facebox .bl, #facebox .br { height: 10px; width: 10px; overflow: hidden; padding: 0; } #facebox_overlay { position: fixed; top: 0px; left: 0px; height:100%; width:100%; } .facebox_hide { z-index:-100; } .facebox_overlayBG { background-color: #000; z-index: 99; } /*************** jQuery WYSIWYG ***************/ div.wysiwyg { border: 1px solid #cccccc; padding: 5px; background-color: #ffffff; width: 97.5% !important; } div.wysiwyg * { margin: 0; padding: 0; } div.wysiwyg ul.panel { border-bottom: 1px solid #cccccc; float: left; width: 100%; padding: 0 0 5px 0; } div.wysiwyg ul.panel li { list-style-type: none; float: left; margin: 0 2px; padding: 0 !important; background: #ffffff; background-image: none !important;} div.wysiwyg ul.panel li.separator { height: 16px; margin: 0 4px; border-left: 1px solid #cccccc; } div.wysiwyg ul.panel li a { display: block; padding: 0 !important; width: 16px; height: 16px; background: url('../images/icons/jquery.wysiwyg.gif') no-repeat -64px -80px; border: 0; cursor: pointer; padding: 1px; } div.wysiwyg ul.panel li a:hover, div.wysiwyg ul.panel li a.active { } div.wysiwyg ul.panel li a.active { background-color: #f9f9f9; border: 1px solid #cccccc; border-left-color: #aaaaaa; border-top-color: #aaaaaa; padding: 0; } div.wysiwyg ul.panel li a.bold { background-position: 0 -16px; } div.wysiwyg ul.panel li a.italic { background-position: -16px -16px; } div.wysiwyg ul.panel li a.strikeThrough { background-position: -32px -16px; } div.wysiwyg ul.panel li a.underline { background-position: -48px -16px; } div.wysiwyg ul.panel li a.justifyLeft { background-position: 0 0; } div.wysiwyg ul.panel li a.justifyCenter { background-position: -16px 0; } div.wysiwyg ul.panel li a.justifyRight { background-position: -32px 0; } div.wysiwyg ul.panel li a.justifyFull { background-position: -48px 0; } div.wysiwyg ul.panel li a.indent { background-position: -64px 0; } div.wysiwyg ul.panel li a.outdent { background-position: -80px 0; } div.wysiwyg ul.panel li a.subscript { background-position: -64px -16px; } div.wysiwyg ul.panel li a.superscript { background-position: -80px -16px; } div.wysiwyg ul.panel li a.undo { background-position: 0 -64px; } div.wysiwyg ul.panel li a.redo { background-position: -16px -64px; } div.wysiwyg ul.panel li a.insertOrderedList { background-position: -32px -48px; } div.wysiwyg ul.panel li a.insertUnorderedList { background-position: -16px -48px; } div.wysiwyg ul.panel li a.insertHorizontalRule { background-position: 0 -48px; } div.wysiwyg ul.panel li a.h1 { background-position: 0 -32px; } div.wysiwyg ul.panel li a.h2 { background-position: -16px -32px; } div.wysiwyg ul.panel li a.h3 { background-position: -32px -32px; } div.wysiwyg ul.panel li a.h4 { background-position: -48px -32px; } div.wysiwyg ul.panel li a.h5 { background-position: -64px -32px; } div.wysiwyg ul.panel li a.h6 { background-position: -80px -32px; } div.wysiwyg ul.panel li a.cut { background-position: -32px -64px; } div.wysiwyg ul.panel li a.copy { background-position: -48px -64px; } div.wysiwyg ul.panel li a.paste { background-position: -64px -64px; } div.wysiwyg ul.panel li a.increaseFontSize { background-position: -16px -80px; } div.wysiwyg ul.panel li a.decreaseFontSize { background-position: -32px -80px; } div.wysiwyg ul.panel li a.createLink { background-position: -80px -48px; } div.wysiwyg ul.panel li a.insertImage { background-position: -80px -80px; } div.wysiwyg ul.panel li a.html { background-position: -48px -48px; } div.wysiwyg ul.panel li a.removeFormat { background-position: -80px -64px; } div.wysiwyg ul.panel li a.empty { background-position: -64px -80px; } div.wysiwyg iframe { border: 0; margin: 5px 0 0 0; clear: left; width: 97.5% !important; }
10-ptud-v1
trunk/ 10-ptud-v1/admin/skins/sa/resources/css/style.css
CSS
gpl3
22,672
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, /* Eric Meyer's Reset Stylesheet: http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ */ small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; } /* remember to define focus styles! */ :focus { outline: 0; } body { line-height: 1; color: black; background: white; } ol, ul { list-style: none; } /* tables still need 'cellspacing="0"' in the markup */ table { border-collapse: separate; border-spacing: 0; } caption, th, td { text-align: left; font-weight: normal; } blockquote:before, blockquote:after, q:before, q:after { content: ""; } blockquote, q { quotes: "" ""; }
10-ptud-v1
trunk/ 10-ptud-v1/admin/skins/sa/resources/css/reset.css
CSS
gpl3
1,079
/************ Internet Explorer fixes ************/ #sidebar #main-nav ul li a { _padding: 10px 15px; /* IE6 Hack */ _display: block; /* IE6 Hack */ _margin-bottom: -11px !important; /* IE6 Hack */ } .content-box-header { margin-top: 0; } ul.content-box-tabs { /* IE6 Hack */ _position: relative; _top: 2px; } .action-button:hover { cursor: pointer; } .input-notification { position: relative; top: -5px; _background-position: left 6px; /* IE6 Hack */ } #login-wrapper #login-content input { margin: 0; } * html #facebox_overlay { /* IE6 Hack */ _position: absolute; _height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); }
10-ptud-v1
trunk/ 10-ptud-v1/admin/skins/sa/resources/css/ie.css
CSS
gpl3
987
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Simpla Admin | Sign In</title> <!-- CSS --> <!-- Reset Stylesheet --> <link rel="stylesheet" href="resources/css/reset.css" type="text/css" media="screen" /> <!-- Main Stylesheet --> <link rel="stylesheet" href="resources/css/style.css" type="text/css" media="screen" /> <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid --> <link rel="stylesheet" href="resources/css/invalid.css" type="text/css" media="screen" /> <!-- Colour Schemes Default colour scheme is green. Uncomment prefered stylesheet to use it. <link rel="stylesheet" href="resources/css/blue.css" type="text/css" media="screen" /> <link rel="stylesheet" href="resources/css/red.css" type="text/css" media="screen" /> --> <!-- Internet Explorer Fixes Stylesheet --> <!--[if lte IE 7]> <link rel="stylesheet" href="resources/css/ie.css" type="text/css" media="screen" /> <![endif]--> <!-- Javascripts --> <!-- jQuery --> <script type="text/javascript" src="resources/scripts/jquery-1.3.2.min.js"></script> <!-- jQuery Configuration --> <script type="text/javascript" src="resources/scripts/simpla.jquery.configuration.js"></script> <!-- Facebox jQuery Plugin --> <script type="text/javascript" src="resources/scripts/facebox.js"></script> <!-- jQuery WYSIWYG Plugin --> <script type="text/javascript" src="resources/scripts/jquery.wysiwyg.js"></script> <!-- Internet Explorer .png-fix --> <!--[if IE 6]> <script type="text/javascript" src="resources/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> </head> <body id="login"> <div id="login-wrapper" class="png_bg"> <div id="login-top"> <h1>Simpla Admin</h1> <!-- Logo (221px width) --> <img id="logo" src="resources/images/logo.png" alt="Simpla Admin logo" /> </div> <!-- End #logn-top --> <div id="login-content"> <form action="index.html"> <div class="notification information png_bg"> <div> Just click "Sign In". No password needed. </div> </div> <p> <label>Username</label> <input class="text-input" type="text" /> </p> <div class="clear"></div> <p> <label>Password</label> <input class="text-input" type="password" /> </p> <div class="clear"></div> <p id="remember-password"> <input type="checkbox" />Remember me </p> <div class="clear"></div> <p> <input class="button" type="submit" value="Sign In" /> </p> </form> </div> <!-- End #login-content --> </div> <!-- End #login-wrapper --> </body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/admin/skins/sa/login.html
HTML
gpl3
3,144
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Simpla Admin</title> <!-- CSS --> <!-- Reset Stylesheet --> <link rel="stylesheet" href="resources/css/reset.css" type="text/css" media="screen" /> <!-- Main Stylesheet --> <link rel="stylesheet" href="resources/css/style.css" type="text/css" media="screen" /> <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid --> <link rel="stylesheet" href="resources/css/invalid.css" type="text/css" media="screen" /> <!-- Colour Schemes Default colour scheme is green. Uncomment prefered stylesheet to use it. <link rel="stylesheet" href="resources/css/blue.css" type="text/css" media="screen" /> <link rel="stylesheet" href="resources/css/red.css" type="text/css" media="screen" /> --> <!-- Internet Explorer Fixes Stylesheet --> <!--[if lte IE 7]> <link rel="stylesheet" href="resources/css/ie.css" type="text/css" media="screen" /> <![endif]--> <!-- Javascripts --> <!-- jQuery --> <script type="text/javascript" src="resources/scripts/jquery-1.3.2.min.js"></script> <!-- jQuery Configuration --> <script type="text/javascript" src="resources/scripts/simpla.jquery.configuration.js"></script> <!-- Facebox jQuery Plugin --> <script type="text/javascript" src="resources/scripts/facebox.js"></script> <!-- jQuery WYSIWYG Plugin --> <script type="text/javascript" src="resources/scripts/jquery.wysiwyg.js"></script> <!-- Internet Explorer .png-fix --> <!--[if IE 6]> <script type="text/javascript" src="resources/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> </head> <body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background --> <div id="sidebar"><div id="sidebar-wrapper"> <!-- Sidebar with logo and menu --> <h1 id="sidebar-title"><a href="#">Simpla Admin</a></h1> <!-- Logo (221px wide) --> <a href="#"><img id="logo" src="resources/images/logo.png" alt="Simpla Admin logo" /></a> <!-- Sidebar Profile links --> <div id="profile-links"> Hello, <a href="#" title="Edit your profile">John Doe</a>, you have <a href="#messages" rel="modal" title="3 Messages">3 Messages</a><br /> <br /> <a href="#" title="View the Site">View the Site</a> | <a href="#" title="Sign Out">Sign Out</a> </div> <ul id="main-nav"> <!-- Accordion Menu --> <li> <a href="http://www.google.com" class="nav-top-item no-submenu"> <!-- Add the class "no-submenu" to menu items with no sub menu --> Dashboard </a> </li> <li> <a href="#" class="nav-top-item current"> <!-- Add the class "current" to current menu item --> Articles </a> <ul> <li><a href="#">Write a new Article</a></li> <li><a class="current" href="#">Manage Articles</a></li> <!-- Add class "current" to sub menu items also --> <li><a href="#">Manage Comments</a></li> <li><a href="#">Manage Categories</a></li> </ul> </li> <li> <a href="#" class="nav-top-item"> Pages </a> <ul> <li><a href="#">Create a new Page</a></li> <li><a href="#">Manage Pages</a></li> </ul> </li> <li> <a href="#" class="nav-top-item"> Image Gallery </a> <ul> <li><a href="#">Upload Images</a></li> <li><a href="#">Manage Galleries</a></li> <li><a href="#">Manage Albums</a></li> <li><a href="#">Gallery Settings</a></li> </ul> </li> <li> <a href="#" class="nav-top-item"> Events Calendar </a> <ul> <li><a href="#">Calendar Overview</a></li> <li><a href="#">Add a new Event</a></li> <li><a href="#">Calendar Settings</a></li> </ul> </li> <li> <a href="#" class="nav-top-item"> Settings </a> <ul> <li><a href="#">General</a></li> <li><a href="#">Design</a></li> <li><a href="#">Your Profile</a></li> <li><a href="#">Users and Permissions</a></li> </ul> </li> </ul> <!-- End #main-nav --> <div id="messages" style="display: none"> <!-- Messages are shown when a link with these attributes are clicked: href="#messages" rel="modal" --> <h3>3 Messages</h3> <p> <strong>17th May 2009</strong> by Admin<br /> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. <small><a href="#" class="remove-link" title="Remove message">Remove</a></small> </p> <p> <strong>2nd May 2009</strong> by Jane Doe<br /> Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est. <small><a href="#" class="remove-link" title="Remove message">Remove</a></small> </p> <p> <strong>25th April 2009</strong> by Admin<br /> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. <small><a href="#" class="remove-link" title="Remove message">Remove</a></small> </p> <form action="" method="post"> <h4>New Message</h4> <fieldset> <textarea class="textarea" name="textfield" cols="79" rows="5"></textarea> </fieldset> <fieldset> <select name="dropdown" class="small-input"> <option value="option1">Send to...</option> <option value="option2">Everyone</option> <option value="option3">Admin</option> <option value="option4">Jane Doe</option> </select> <input class="button" type="submit" value="Send" /> </fieldset> </form> </div> <!-- End #messages --> </div></div> <!-- End #sidebar --> <div id="main-content"> <!-- Main Content Section with everything --> <noscript> <!-- Show a notification if the user has disabled javascript --> <div class="notification error png_bg"> <div> Javascript is disabled or is not supported by your browser. Please <a href="http://browsehappy.com/" title="Upgrade to a better browser">upgrade</a> your browser or <a href="http://www.google.com/support/bin/answer.py?answer=23852" title="Enable Javascript in your browser">enable</a> Javascript to navigate the interface properly. </div> </div> </noscript> <!-- Page Head --> <h2>Welcome John</h2> <p id="page-intro">What would you like to do?</p> <ul class="shortcut-buttons-set"> <li><a class="shortcut-button new-article" href="#"><span class="png_bg"> Write an Article </span></a></li> <li><a class="shortcut-button new-page" href="#"><span class="png_bg"> Create a New Page </span></a></li> <li><a class="shortcut-button upload-image" href="#"><span class="png_bg"> Upload an Image </span></a></li> <li><a class="shortcut-button add-event" href="#"><span class="png_bg"> Add an Event </span></a></li> <li><a class="shortcut-button manage-comments" href="#messages" rel="modal"><span class="png_bg"> Open Modal </span></a></li> </ul><!-- End .shortcut-buttons-set --> <div class="clear"></div> <!-- End .clear --> <div class="content-box"><!-- Start Content Box --> <div class="content-box-header"> <h3>Content box</h3> <ul class="content-box-tabs"> <li><a href="#tab1" class="default-tab">Table</a></li> <!-- href must be unique and match the id of target div --> <li><a href="#tab2">Forms</a></li> </ul> <div class="clear"></div> </div> <!-- End .content-box-header --> <div class="content-box-content"> <div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab --> <div class="notification attention png_bg"> <a href="#" class="close"><img src="resources/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a> <div> This is a Content Box. You can put whatever you want in it. By the way, you can close this notification with the top-right cross. </div> </div> <table> <thead> <tr> <th><input class="check-all" type="checkbox" /></th> <th>Column 1</th> <th>Column 2</th> <th>Column 3</th> <th>Column 4</th> <th>Column 5</th> </tr> </thead> <tfoot> <tr> <td colspan="6"> <div class="bulk-actions align-left"> <select name="dropdown"> <option value="option1">Choose an action...</option> <option value="option2">Edit</option> <option value="option3">Delete</option> </select> <a class="button" href="#">Apply to selected</a> </div> <div class="pagination"> <a href="#" title="First Page">&laquo; First</a><a href="#" title="Previous Page">&laquo; Previous</a> <a href="#" class="number" title="1">1</a> <a href="#" class="number" title="2">2</a> <a href="#" class="number current" title="3">3</a> <a href="#" class="number" title="4">4</a> <a href="#" title="Next Page">Next &raquo;</a><a href="#" title="Last Page">Last &raquo;</a> </div> <!-- End .pagination --> <div class="clear"></div> </td> </tr> </tfoot> <tbody> <tr> <td><input type="checkbox" /></td> <td>Lorem ipsum dolor</td> <td><a href="#" title="title">Sit amet</a></td> <td>Consectetur adipiscing</td> <td>Donec tortor diam</td> <td> <!-- Icons --> <a href="#" title="Edit"><img src="resources/images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="resources/images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="resources/images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a> </td> </tr> <tr> <td><input type="checkbox" /></td> <td>Lorem ipsum dolor</td> <td><a href="#" title="title">Sit amet</a></td> <td>Consectetur adipiscing</td> <td>Donec tortor diam</td> <td> <!-- Icons --> <a href="#" title="Edit"><img src="resources/images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="resources/images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="resources/images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a> </td> </tr> <tr> <td><input type="checkbox" /></td> <td>Lorem ipsum dolor</td> <td><a href="#" title="title">Sit amet</a></td> <td>Consectetur adipiscing</td> <td>Donec tortor diam</td> <td> <!-- Icons --> <a href="#" title="Edit"><img src="resources/images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="resources/images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="resources/images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a> </td> </tr> <tr> <td><input type="checkbox" /></td> <td>Lorem ipsum dolor</td> <td><a href="#" title="title">Sit amet</a></td> <td>Consectetur adipiscing</td> <td>Donec tortor diam</td> <td> <!-- Icons --> <a href="#" title="Edit"><img src="resources/images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="resources/images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="resources/images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a> </td> </tr> <tr> <td><input type="checkbox" /></td> <td>Lorem ipsum dolor</td> <td><a href="#" title="title">Sit amet</a></td> <td>Consectetur adipiscing</td> <td>Donec tortor diam</td> <td> <!-- Icons --> <a href="#" title="Edit"><img src="resources/images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="resources/images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="resources/images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a> </td> </tr> <tr> <td><input type="checkbox" /></td> <td>Lorem ipsum dolor</td> <td><a href="#" title="title">Sit amet</a></td> <td>Consectetur adipiscing</td> <td>Donec tortor diam</td> <td> <!-- Icons --> <a href="#" title="Edit"><img src="resources/images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="resources/images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="resources/images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a> </td> </tr> <tr> <td><input type="checkbox" /></td> <td>Lorem ipsum dolor</td> <td><a href="#" title="title">Sit amet</a></td> <td>Consectetur adipiscing</td> <td>Donec tortor diam</td> <td> <!-- Icons --> <a href="#" title="Edit"><img src="resources/images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="resources/images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="resources/images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a> </td> </tr> <tr> <td><input type="checkbox" /></td> <td>Lorem ipsum dolor</td> <td><a href="#" title="title">Sit amet</a></td> <td>Consectetur adipiscing</td> <td>Donec tortor diam</td> <td> <!-- Icons --> <a href="#" title="Edit"><img src="resources/images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="resources/images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="resources/images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a> </td> </tr> </tbody> </table> </div> <!-- End #tab1 --> <div class="tab-content" id="tab2"> <form action="" method="post"> <fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns --> <p> <label>Small form input</label> <input class="text-input small-input" type="text" id="small-input" name="small-input" /> <span class="input-notification success png_bg">Successful message</span> <!-- Classes for input-notification: success, error, information, attention --> <br /><small>A small description of the field</small> </p> <p> <label>Medium form input</label> <input class="text-input medium-input" type="text" id="medium-input" name="medium-input" /> <span class="input-notification error png_bg">Error message</span> </p> <p> <label>Large form input</label> <input class="text-input large-input" type="text" id="large-input" name="large-input" /> </p> <p> <label>Checkboxes</label> <input type="checkbox" name="checkbox1" /> This is a checkbox <input type="checkbox" name="checkbox2" /> And this is another checkbox </p> <p> <label>Radio buttons</label> <input type="radio" name="radio1" /> This is a radio button<br /> <input type="radio" name="radio2" /> This is another radio button </p> <p> <label>This is a drop down list</label> <select name="dropdown" class="small-input"> <option value="option1">Option 1</option> <option value="option2">Option 2</option> <option value="option3">Option 3</option> <option value="option4">Option 4</option> </select> </p> <p> <label>Textarea with WYSIWYG</label> <textarea class="text-input textarea wysiwyg" id="textarea" name="textfield" cols="79" rows="15"></textarea> </p> <p> <input class="button" type="submit" value="Submit" /> </p> </fieldset> <div class="clear"></div><!-- End .clear --> </form> </div> <!-- End #tab2 --> </div> <!-- End .content-box-content --> </div> <!-- End .content-box --> <div class="content-box column-left"><!-- Start Content Box --> <div class="content-box-header"> <h3>Content box left</h3> </div> <!-- End .content-box-header --> <div class="content-box-content"> <div class="tab-content default-tab"> <h4>Maecenas dignissim</h4> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed in porta lectus. Maecenas dignissim enim quis ipsum mattis aliquet. Maecenas id velit et elit gravida bibendum. Duis nec rutrum lorem. Donec egestas metus a risus euismod ultricies. Maecenas lacinia orci at neque commodo commodo. </p> </div> <!-- End #tab3 --> </div> <!-- End .content-box-content --> </div> <!-- End .content-box --> <div class="content-box column-right"><!-- Start Content Box --> <div class="content-box-header"> <h3>Content box right</h3> </div> <!-- End .content-box-header --> <div class="content-box-content"> <div class="tab-content default-tab"> <h4>Maecenas dignissim</h4> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed in porta lectus. Maecenas dignissim enim quis ipsum mattis aliquet. Maecenas id velit et elit gravida bibendum. Duis nec rutrum lorem. Donec egestas metus a risus euismod ultricies. Maecenas lacinia orci at neque commodo commodo. </p> </div> <!-- End #tab3 --> </div> <!-- End .content-box-content --> </div> <!-- End .content-box --> <div class="clear"></div> <!-- Start Notifications --> <div class="notification attention png_bg"> <a href="#" class="close"><img src="resources/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a> <div> Attention notification. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin vulputate, sapien quis fermentum luctus, libero. </div> </div> <div class="notification information png_bg"> <a href="#" class="close"><img src="resources/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a> <div> Information notification. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin vulputate, sapien quis fermentum luctus, libero. </div> </div> <div class="notification success png_bg"> <a href="#" class="close"><img src="resources/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a> <div> Success notification. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin vulputate, sapien quis fermentum luctus, libero. </div> </div> <div class="notification error png_bg"> <a href="#" class="close"><img src="resources/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a> <div> Error notification. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin vulputate, sapien quis fermentum luctus, libero. </div> </div> <!-- End Notifications --> <div id="footer"> <small> &#169; Copyright 2009 Simpla Admin | Powered by <a href="http://themeforest.net/item/simpla-admin-flexible-user-friendly-admin-skin/46073">Simpla Admin</a> | <a href="#">Top</a> </small> </div><!-- End #footer --> </div> <!-- End #main-content --> </div></body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/admin/skins/sa/index.html
HTML
gpl3
21,590
<!-- begin jquery --> <link rel="stylesheet" href="../../js/jquery/themes/redmond/jquery-ui-1.8.22.custom.css" type="text/css" media="screen" /> <script type="text/javascript" src="../../js/jquery/jquery-1.4.4.js"></script> <script type="text/javascript" src="../../js/jquery/ui/jquery-ui-1.8.9.custom.js"></script> <script type="text/javascript" src="../../js/jquery/ui/i18n/jquery.ui.datepicker-vi.js"></script> <!-- end jquery -->
10-ptud-v1
trunk/ 10-ptud-v1/admin/js/jquery.php
Hack
gpl3
459
<?php session_start(); require '../../config.php'; if($_SESSION[SALT.'LOGIN'] != 'DONE') { $_SESSION['LAST_URL'] = $_SERVER['REQUEST_URI']; header ('Location: ../quan_tri/dang_nhap.php'); exit; } ?>
10-ptud-v1
trunk/ 10-ptud-v1/admin/ini.php
PHP
gpl3
225
<?php session_start(); require '../../config.php'; unset($_SESSION[SALT.'LOGIN']); unset($_SESSION['LAST_URL']); header ('Location: dang_nhap.php'); ?>
10-ptud-v1
trunk/ 10-ptud-v1/admin/quan_tri/dang_xuat.php
PHP
gpl3
162
<?php if(!empty($_SESSION['msg'])) { ?> <div class="notification <?php echo $_SESSION['type_msg']; unset($_SESSION['type_msg']);?> png_bg"> <a href="#" class="close"><img src="../images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a> <div> <?php echo $_SESSION['msg']; unset($_SESSION['msg']) ?> </div> </div> <?php } ?>
10-ptud-v1
trunk/ 10-ptud-v1/admin/widgets/thong_bao.php
PHP
gpl3
362
<div id="sidebar"><div id="sidebar-wrapper"> <!-- Sidebar with logo and menu --> <h1 id="sidebar-title"><a href="#">Simpla Admin</a></h1> <!-- Logo (221px wide) --> <a href="#"><img id="logo" style="padding-left:40px" src="../skins/sa/resources/images/logo.png" alt="Simpla Admin logo" /></a> <!-- Sidebar Profile links --> <div id="profile-links"> Hello, <a href="#" title="Edit your profile"><?php echo $_SESSION['USER']['ho_ten']?></a>, you have <a href="#messages" rel="modal" title="3 Messages">3 Messages</a><br /> <br /> <a href="#" title="View the Site">View the Site</a> | <a href="../quan_tri/dang_xuat.php" title="Sign Out">Sign Out</a> </div> <ul id="main-nav"> <!-- Accordion Menu --> <li> <a href="#" class="nav-top-item" id="thong_ke"> <!-- Add the class "current" to current menu item --> Thống kê </a> <ul> <li><a href="../trang_chu/index.php" id="trang_chu_index.php" parent="thong_ke">Thống kê doanh thu</a></li> <!-- Add class "current" to sub menu items also --> </ul> </li> <li> <a href="#" class="nav-top-item" id="bai_viet"> <!-- Add the class "current" to current menu item --> Bài viết </a> <ul> <li><a href="../bai_viet/them.php" id="bai_viet_them.php" parent="bai_viet">Thêm bài viết</a></li> <li><a href="../bai_viet/danh_sach.php" id="bai_viet_danh_sach.php" parent="bai_viet">Xem danh sách bài viết</a></li> <!-- Add class "current" to sub menu items also --> <li><a href="../loai_bai_viet/them.php" id="loai_bai_viet_them.php" parent="bai_viet">Thêm loại bài viết</a></li> <li><a href="../loai_bai_viet/danh_sach.php" id="loai_bai_viet_danh_sach.php" parent="bai_viet">Xem danh sách loại bài viết</a></li> </ul> </li> <li> <a href="#" class="nav-top-item" id="quan_ly_don_hang"> Quản lý phiếu đăng ký </a> <ul> <li><a href="../phieu_dang_ky/danh_sach.php" id="don_hang_danh_sach.php" parent="quan_ly_don_hang">Xem danh sách</a></li> </ul> </li> <li> <a href="#" class="nav-top-item" id="thanh_vien"> Thành viên </a> <ul> <li><a href="../thanh_vien/them.php" id="thanh_vien_them.php" parent="thanh_vien">Thêm</a></li> <li><a href="../thanh_vien/danh_sach.php" id="thanh_vien_danh_sach.php" parent="thanh_vien">Xem danh sách</a></li> </ul> </li> <li> <a href="#" class="nav-top-item" id="tuyen_dung"> Tuyển dụng </a> <ul> <li><a href="../tuyen_dung/thong_tin.php" id="tuyen_dung_thong_tin.php" parent="tuyen_dung">Thông tin</a></li> <li><a href="../tuyen_dung/danh_sach.php" id="tuyen_dung_danh_sach.php" parent="tuyen_dung">Xem danh sách</a></li> </ul> </li> <li> <a href="#" class="nav-top-item" id="cau_hinh_web"> Cấu hình website </a> <ul> <li><a href="../cau_hinh/them.php" id="cau_hinh_them.php" parent="cau_hinh_web">Thêm</a></li> <li><a href="../cau_hinh/danh_sach.php" id="cau_hinh_danh_sach.php" parent="cau_hinh_web">Xem danh sách</a></li> </ul> </li> <li> <a href="#" class="nav-top-item" id="lien_he"> Liên hệ </a> <ul> <li><a href="../lien_he/thong_tin.php" id="lien_he_thong_tin.php" parent="lien_he">Thông tin</a></li> <li><a href="../lien_he/danh_sach.php" id="lien_he_danh_sach.php" parent="lien_he">Xem danh sách</a></li> </ul> </li> </ul> <!-- End #main-nav --> <div id="messages" style="display: none"> <!-- Messages are shown when a link with these attributes are clicked: href="#messages" rel="modal" --> <h3>3 Messages</h3> <p> <strong>17th May 2009</strong> by Admin<br /> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. <small><a href="#" class="remove-link" title="Remove message">Remove</a></small> </p> <p> <strong>2nd May 2009</strong> by Jane Doe<br /> Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est. <small><a href="#" class="remove-link" title="Remove message">Remove</a></small> </p> <p> <strong>25th April 2009</strong> by Admin<br /> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. <small><a href="#" class="remove-link" title="Remove message">Remove</a></small> </p> <form action="" method="post"> <h4>New Message</h4> <fieldset> <textarea class="textarea" name="textfield" cols="79" rows="5"></textarea> </fieldset> <fieldset> <select name="dropdown" class="small-input"> <option value="option1">Send to...</option> <option value="option2">Everyone</option> <option value="option3">Admin</option> <option value="option4">Jane Doe</option> </select> <input class="button" type="submit" value="Send" /> </fieldset> </form> </div> <!-- End #messages --> </div></div> <script type="text/javascript"> var url = window.location.href; var arr_url = url.split('/'); var n = arr_url.length; var file = arr_url[n-1]; var folder = arr_url[n-2]; var id = folder + '_' + file; var id_parent = document.getElementById(id).getAttribute('parent'); document.getElementById(id_parent).className = 'nav-top-item current'; document.getElementById(id).className = 'current'; </script>
10-ptud-v1
trunk/ 10-ptud-v1/admin/widgets/sidebar.php
PHP
gpl3
6,098
<noscript> <!-- Show a notification if the user has disabled javascript --> <div class="notification error png_bg"> <div> Javascript is disabled or is not supported by your browser. Please <a href="http://browsehappy.com/" title="Upgrade to a better browser">upgrade</a> your browser or <a href="http://www.google.com/support/bin/answer.py?answer=23852" title="Enable Javascript in your browser">enable</a> Javascript to navigate the interface properly. </div> </div> </noscript>
10-ptud-v1
trunk/ 10-ptud-v1/admin/widgets/noscript.php
Hack
gpl3
512
<div id="footer"> <small> &#169; Copyright 2009 Simpla Admin | Powered by <a href="http://themeforest.net/item/simpla-admin-flexible-user-friendly-admin-skin/46073">Simpla Admin</a> | <a href="#">Top</a> </small> </div>
10-ptud-v1
trunk/ 10-ptud-v1/admin/widgets/footer.php
Hack
gpl3
240
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Simpla Admin</title> <!-- CSS --> <!-- Reset Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/reset.css" type="text/css" media="screen" /> <!-- Main Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/style.css" type="text/css" media="screen" /> <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid --> <link rel="stylesheet" href="../skins/sa/resources/css/invalid.css" type="text/css" media="screen" /> <!-- Colour Schemes Default colour scheme is green. Uncomment prefered stylesheet to use it. <link rel="stylesheet" href="../skins/sa/resources/css/blue.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../skins/sa/resources/css/red.css" type="text/css" media="screen" /> --> <!-- Internet Explorer Fixes Stylesheet --> <!--[if lte IE 7]> <link rel="stylesheet" href="../skins/sa/resources/css/ie.css" type="text/css" media="screen" /> <![endif]--> <!-- Javascripts --> <!-- jQuery --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery-1.3.2.min.js"></script> <!-- jQuery Configuration --> <script type="text/javascript" src="../skins/sa/resources/scripts/simpla.jquery.configuration.js"></script> <!-- Facebox jQuery Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/facebox.js"></script> <!-- jQuery WYSIWYG Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery.wysiwyg.js"></script> <!-- Internet Explorer .png-fix --> <!--[if IE 6]> <script type="text/javascript" src="../skins/sa/resources/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> </head> <body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background --> <?php include '../widgets/sidebar.php' ?> <!-- End #sidebar --> <div id="main-content"> <!-- Main Content Section with everything --> <?php include '../widgets/noscript.php'; ?> <!-- Page Head --> <!-- End .shortcut-buttons-set --> <div class="clear"></div> <!-- End .clear --> <div class="content-box"><!-- Start Content Box --> <div class="content-box-header"> <h3>Cấu hình Email</h3> <ul class="content-box-tabs"> <li><a href="danh_sach.php">Danh sách</a></li> <!-- href must be unique and match the id of target div --> <li><a class="default-tab">Cấu hình Email</a></li> </ul> <div class="clear"></div> </div> <!-- End .content-box-header --> <div class="content-box-content"> <div class="tab-content default-tab" id="tab2"> <form action="" method="post"> <fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns --> <table> <tr> <td><label>Tên người gửi <span style="color:red">(*)</span>:</label></td> <td><input class="text-input medium-input" type="text" id="ten" name="ten" /></td> </tr> <tr> <td><label>Email người gửi <span style="color:red">(*)</span>:</label></td> <td><input class="text-input medium-input" type="text" id="email" name="email" /></td> </tr> <tr> <td><label>Password:</label></td> <td><input class="text-input medium-input" type="password" id="password" name="password" /></td> </tr> <tr> <td><label>Tiêu đề <span style="color:red">(*)</span>:</label></td> <td><input class="text-input medium-input" type="text" id="tieu_de" name="tieu_de" /></td> </tr> <tr> <td style="vertical-align:middle"><label>Template:</label></td> <td><textarea class="text-input textarea wysiwyg" id="template" name="template" cols="79" rows="15"></textarea></td> </tr> <tr> <td colspan="2" style="padding-left:350px"> <input class="button" type="submit" value="Lưu và thoát" /> <input class="button" type="submit" value="Lưu và tiếp tục" /> <input class="button" type="button" value="Quay về" /> </td> </tr> </table> </fieldset> <div class="clear"></div><!-- End .clear --> </form> </div> <!-- End #tab2 --> </div> <!-- End .content-box-content --> </div> <!-- End .content-box --> <div class="clear"></div> <?php include '../widgets/footer.php'; ?><!-- End #footer --> </div> <!-- End #main-content --> </div></body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/admin/phieu_dang_ky/cau_hinh.php
PHP
gpl3
6,232
<?php require '../ini.php'; require '../../classes/xl_hoa_don.php'; $dt_xl_hoa_don = new xl_hoa_don; #Dem so phan tu cua mang item $n = count($_POST['item']); #Kiem tra so phan tu trong mang item if ($n == 0) { $_SESSION['msg'] = 'Vui lòng chọn dữ liệu trước khi xóa !!!'; $_SESSION['type_msg'] = 'error'; header('Location: '.$_SERVER['HTTP_REFERER']); exit; } $str = ''; #Thuc hien xoa nhieu for($i = 0; $i<$n; $i++) { $ma = $_POST['item'][$i]; $result = $dt_xl_hoa_don->xoa($ma); if($result == false) { $str .= $ma.','; } } $str = trim($str,','); if($str == '') { $_SESSION['msg'] = 'Xóa thành công !!!'; $_SESSION['type_msg'] = 'success'; header('Location: '.$_SERVER['HTTP_REFERER']); exit; }else { $_SESSION['msg'] = "Mã $str xóa không thành công !!!"; $_SESSION['type_msg'] = 'attention'; header('Location: '.$_SERVER['HTTP_REFERER']); exit; } #Dong ket noi $dt_xl_hoa_don->disconnect(); ?>
10-ptud-v1
trunk/ 10-ptud-v1/admin/phieu_dang_ky/xoa_nhieu.php
PHP
gpl3
1,038
<?php require '../ini.php'; require '../../classes/xl_hoa_don.php'; #Khoi tao doi tuong $dt_xl_hoa_don = new xl_hoa_don; #Kiem tra tham so if (empty($_GET['ma'])) { $_SESSION['msg'] = 'Dữ liệu không hợp lệ !!!'; $_SESSION['type_msg'] = 'error'; header('Location: danh_sach.php'); exit; } #Lay tham so vao $ma = $_GET['ma']; #Kiem tra ma bai viet $hoa_don = $dt_xl_hoa_don->xem($ma); if ($hoa_don == NULL) { $_SESSION['msg'] = 'Đơn hàng không tồn tại !!!'; $_SESSION['type_msg'] = 'error'; header('Location: '.$_SERVER['HTTP_REFERER']); exit; } #Query $result = $dt_xl_hoa_don->xoa($ma); if ($result == false) { $_SESSION['msg'] = 'Xóa không thành công !!!'; $_SESSION['type_msg'] = 'error'; header('Location: '.$_SERVER['HTTP_REFERER']); } else { $_SESSION['msg'] = 'Xóa thành công !!!'; $_SESSION['type_msg'] = 'success'; header('Location: '.$_SERVER['HTTP_REFERER']); exit; } #Dong ket noi $dt_xl_hoa_don->disconnect(); ?>
10-ptud-v1
trunk/ 10-ptud-v1/admin/phieu_dang_ky/xoa.php
PHP
gpl3
1,065
<?php require '../ini.php'; require '../../classes/xl_hoa_don.php'; #Khoi tao doi tuong $dt_xl_hoa_don = new xl_hoa_don; #Kiem tra co ton tai ma hay khong if(empty($_GET['ma'])){ $_SESSION['msg'] = 'Dữ liệu không hợp lệ !!!'; $_SESSION['type_msg'] = 'error'; header('Location: danh_sach.php'); exit; } #Doc mot dong trong bang hoa_don trong CSDL $ma = $_GET['ma']; $hoa_don = $dt_xl_hoa_don->xem($ma); #Kiem tra ma co trong CSDL hay khong if($hoa_don == NULL){ $_SESSION['msg'] = 'Mã không tồn tại!!!'; $_SESSION['type_msg'] = 'error'; header('Location: danh_sach.php'); exit; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Đơn hàng [Cập nhật]</title> <!-- CSS --> <!-- Reset Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/reset.css" type="text/css" media="screen" /> <!-- Main Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/style.css" type="text/css" media="screen" /> <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid --> <link rel="stylesheet" href="../skins/sa/resources/css/invalid.css" type="text/css" media="screen" /> <!-- Colour Schemes Default colour scheme is green. Uncomment prefered stylesheet to use it. <link rel="stylesheet" href="../skins/sa/resources/css/blue.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../skins/sa/resources/css/red.css" type="text/css" media="screen" /> --> <!-- Internet Explorer Fixes Stylesheet --> <!--[if lte IE 7]> <link rel="stylesheet" href="../skins/sa/resources/css/ie.css" type="text/css" media="screen" /> <![endif]--> <!-- Javascripts --> <!-- jQuery --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery-1.3.2.min.js"></script> <!-- jQuery Configuration --> <script type="text/javascript" src="../skins/sa/resources/scripts/simpla.jquery.configuration.js"></script> <!-- Facebox jQuery Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/facebox.js"></script> <!-- jQuery WYSIWYG Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery.wysiwyg.js"></script> <!-- jQuery CKEDITOR --> <script type="text/javascript" src="../includes/ckeditor/ckeditor.js"></script> <!-- Internet Explorer .png-fix --> <!--[if IE 6]> <script type="text/javascript" src="../skins/sa/resources/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> <script type="text/javascript"> function kiem_tra(){ //Khi có form thì ta sử dụng document.tên form.tên điều khiển //VD: document.fthem.ma_sua.value /* if(document.getElementById('ma_sua').value == ''){ alert('Bạn chưa nhập mã sữa, vui lòng kiểm tra lại!!!'); document.getElementById('ma_sua').focus(); return false; } */ var f = document.fcap_nhat; if(f.ngay_tao.value == ''){ alert('Bạn chưa nhập ngày tạo, vui lòng kiểm tra lại!!!'); f.ngay_tao.focus(); return false; } } </script> <?php include '../js/jquery.php'; ?> </head> <body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background --> <?php include '../widgets/sidebar.php' ?> <!-- End #sidebar --> <div id="main-content"> <!-- Main Content Section with everything --> <?php include '../widgets/noscript.php'; ?> <!-- Page Head --> <!-- End .shortcut-buttons-set --> <div class="clear"></div> <!-- End .clear --> <div class="content-box"><!-- Start Content Box --> <div class="content-box-header"> <h3>Đơn hàng [Cập nhật]</h3> <ul class="content-box-tabs"> <li><a href="danh_sach.php">Danh sách</a></li> <!-- href must be unique and match the id of target div --> <li><a class="default-tab">Cập nhật</a></li> </ul> <div class="clear"></div> </div> <!-- End .content-box-header --> <div class="content-box-content"> <div class="tab-content default-tab" id="tab2"> <?php include '../widgets/thong_bao.php'; ?> <form action="cap_nhat_sm.php" method="post" id="fcap_nhat" name="fcap_nhat"> <input type="hidden" name="ma" value="<?php echo $hoa_don['ma']?>"/> <input type="hidden" name="code" value="<?php echo $hoa_don['code']?>"/> <input type="hidden" name="ma_cuoc_phi_van_chuyen" value="1"/> <input type="hidden" name="ma_phuong_thuc_thanh_toan" value="1"/> <fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns --> <table> <tr> <td><label>Họ tên:</label></td> <td><input class="text-input medium-input" type="text" id="ho_ten" name="ho_ten" value="<?php echo $hoa_don['ho_ten']?>"/></td> </tr> <tr> <td><label>Giới tính:</label></td> <td> <label><input type="radio" name="gioi_tinh" value="0" checked="checked" /> Nam<br /> <input type="radio" name="gioi_tinh" value="1" /> Nữ</label> </td> </tr> <tr> <td><label>Ngày sinh:</label></td> <td> <input class="text-input medium-input" type="text" id="ngay_sinh" name="ngay_sinh" value="<?php echo $hoa_don['ngay_sinh']?>" /> <script> $(function() { $( "#ngay_sinh" ).datepicker({ dateFormat: "dd/mm/yy", changeMonth: true, changeYear: true, showOn: "button", buttonImage: "../images/calendar.gif", buttonImageOnly: true, showAnim: "bounce" }); $( "#ngay_sinh" ).datepicker( $.datepicker.regional[ "vi" ] ); }); </script> </td> </tr> <tr> <td><label>Địa chỉ:</label></td> <td><input class="text-input medium-input" type="text" id="dia_chi" name="dia_chi" value="<?php echo $hoa_don['dia_chi']?>"/></td> </tr> <tr> <td><label>Email:</label></td> <td><input class="text-input medium-input" type="text" id="email" name="email" value="<?php echo $hoa_don['email']?>"/></td> </tr> <tr> <td><label>Điện thoại:</label></td> <td><input class="text-input medium-input" type="text" id="dien_thoai" name="dien_thoai" value="<?php echo $hoa_don['dien_thoai']?>"/></td> </tr> <tr> <td><label>Ngày tạo:</label></td> <td> <input class="text-input medium-input" type="text" id="ngay_tao" name="ngay_tao" value="<?php echo $hoa_don['ngay_tao']?>" /> <script> $(function() { $( "#ngay_tao" ).datepicker({ dateFormat: "dd/mm/yy", changeMonth: true, changeYear: true, showOn: "button", buttonImage: "../images/calendar.gif", buttonImageOnly: true, showAnim: "bounce" }); $( "#ngay_tao" ).datepicker( $.datepicker.regional[ "vi" ] ); }); </script> </td> </tr> <tr> <td><label>Trạng thái:</label></td> <td> <label><input type="radio" name="trang_thai" value="0" checked="checked" /> Đơn hàng mới.<br /> <input type="radio" name="trang_thai" value="1" /> Đơn hàng hợp lệ.<br /> <input type="radio" name="trang_thai" value="2" /> Còn hàng, giao hàng trong thời gian sớm nhất.<br /> <input type="radio" name="trang_thai" value="3" /> Hoàn tất.<br /> <input type="radio" name="trang_thai" value="4" /> Chưa thanh toán.</label> </td> </tr> <tr> <td><label>Ghi chú:</label></td> <td><input class="text-input medium-input" type="text" id="ghi_chu" name="ghi_chu" value="<?php echo $hoa_don['ghi_chu']?>"/></td> </tr> <tr> <td><label>Tổng tiền:</label></td> <td><input class="text-input medium-input" type="text" id="tong_tien" name="tong_tien" value="<?php echo $hoa_don['tong_tien']?>"/></td> </tr> <tr> <td><label>Họ tên người nhận:</label></td> <td><input class="text-input medium-input" type="text" id="ho_ten_nguoi_nhan" name="ho_ten_nguoi_nhan" value="<?php echo $hoa_don['ho_ten_nguoi_nhan']?>"/></td> </tr> <tr> <td><label>Địa chỉ người nhận:</label></td> <td><input class="text-input medium-input" type="text" id="dia_chi_nguoi_nhan" name="dia_chi_nguoi_nhan" value="<?php echo $hoa_don['dia_chi_nguoi_nhan']?>"/></td> </tr> <tr> <td><label>Điện thoại người nhận:</label></td> <td><input class="text-input medium-input" type="text" id="dien_thoai_nguoi_nhan" name="dien_thoai_nguoi_nhan" value="<?php echo $hoa_don['dien_thoai_nguoi_nhan']?>"/></td> </tr> <tr> <td colspan="2" style="padding-left:350px"> <input class="button" name="bt_luu_thoat" type="submit" value="Lưu và thoát" onclick="return kiem_tra()" /> <input class="button" name="bt_luu_tieptuc" type="submit" value="Lưu và tiếp tục" onclick="return kiem_tra()" /> <input class="button" name="bt_quay_ve" type="button" value="Quay về" onclick="window.location.href = 'danh_sach.php'" /> </td> </tr> </table> </fieldset> <div class="clear"></div><!-- End .clear --> </form> </div> <!-- End #tab2 --> </div> <!-- End .content-box-content --> </div> <!-- End .content-box --> <div class="clear"></div> <?php include '../widgets/footer.php'; ?><!-- End #footer --> </div> <!-- End #main-content --> </div></body> </html> <?php $dt_xl_hoa_don->disconnect(); ?>
10-ptud-v1
trunk/ 10-ptud-v1/admin/phieu_dang_ky/cap_nhat.php
PHP
gpl3
14,067
<?php require '../ini.php'; require '../../classes/xl_hoa_don.php'; require '../../classes/pager.php'; $dt_xl_hoa_don = new xl_hoa_don; $dt_pager = new pager; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Đơn hàng [Danh sách]</title> <!-- CSS --> <!-- Reset Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/reset.css" type="text/css" media="screen" /> <!-- Main Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/style.css" type="text/css" media="screen" /> <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid --> <link rel="stylesheet" href="../skins/sa/resources/css/invalid.css" type="text/css" media="screen" /> <!-- Cau hinh lai css --> <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" /> <!-- Colour Schemes Default colour scheme is green. Uncomment prefered stylesheet to use it. <link rel="stylesheet" href="../skins/sa/resources/css/blue.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../skins/sa/resources/css/red.css" type="text/css" media="screen" /> --> <!-- Internet Explorer Fixes Stylesheet --> <!--[if lte IE 7]> <link rel="stylesheet" href="../skins/sa/resources/css/ie.css" type="text/css" media="screen" /> <![endif]--> <!-- Javascripts --> <!-- jQuery --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery-1.3.2.min.js"></script> <!-- jQuery Configuration --> <script type="text/javascript" src="../skins/sa/resources/scripts/simpla.jquery.configuration.js"></script> <!-- Facebox jQuery Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/facebox.js"></script> <!-- jQuery WYSIWYG Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery.wysiwyg.js"></script> <!-- Internet Explorer .png-fix --> <!--[if IE 6]> <script type="text/javascript" src="../skins/sa/resources/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> </head> <body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background --> <?php include '../widgets/sidebar.php'; ?> <!-- End #sidebar --> <div id="main-content"> <!-- Main Content Section with everything --> <?php include '../widgets/noscript.php'; ?> <!-- Page Head --> <!-- End .shortcut-buttons-set --> <div class="clear"></div> <!-- End .clear --> <div class="content-box"><!-- Start Content Box --> <div class="content-box-header"> <h3>Phiếu đăng ký [Danh sách]</h3> <ul class="content-box-tabs"> <li><a class="default-tab">Danh sách</a></li> <!-- href must be unique and match the id of target div --> </ul> <div class="clear"></div> </div> <!-- End .content-box-header --> <div class="content-box-content"> <div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab --> <?php include '../widgets/thong_bao.php'; ?> <form action="danh_sach.php" method="get"> <div><span style="font-size:14px"><b>Từ khóa:</b></span> <input class="text-input medium-input" type="text" name="tu_khoa" style="width:200px !important" /> <input class="button" type="submit" value="Tìm kiếm" />&nbsp; <input class="button" type="button" value="Tất cả" onclick="window.location.href = 'danh_sach.php'" /> </div> </form> <table> <thead> <tr> <th class="center"><input class="check-all" type="checkbox" /></th> <th class="center">STT</th> <th class="center">Họ &amp; tên người đăng ký</th> <th class="center">Ngày tạo</th> <th class="center">Trạng thái</th> <th class="center">Thao tác</th> </tr> </thead> <tfoot> <tr> <td colspan="6"> <div class="bulk-actions align-left"> <input class="button" name="bt_xoa_nhieu" type="button" value="Xóa nhiều" onclick="document.fList.submit()" /> </div> <div class="pagination"> <?php #Tim tong so record $tong_so_mau_tin = $dt_xl_hoa_don->so_luong(); #Tim tong so trang $tong_so_trang = $dt_pager->tim_tong_so_trang($tong_so_mau_tin, ADMIN_LIMIT); #In bo nut $dt_pager->in_bo_nut($tong_so_trang); ?> </div> <!-- End .pagination --> <div class="clear"></div> </td> </tr> </tfoot> <form action="xoa_nhieu.php" method="post" name="fList"> <tbody> <?php #Vi tri bat dau (de query vao mysql) $vi_tri = $dt_pager->tim_vi_tri_bat_dau(ADMIN_LIMIT); #Goi ham danh sach de tra ra danh sach can lay $ds_hoa_don = $dt_xl_hoa_don->danh_sach($vi_tri, ADMIN_LIMIT); $i = $vi_tri; foreach($ds_hoa_don as $hoa_don) { ?> <tr> <td class="center"><input type="checkbox" name="item[]" value="<?php echo $bai_viet['ma'] ?>" /></td> <td class="center"><?php echo ++$i ?></td> <td class="center"><?php echo $hoa_don['ho_ten_nguoi_nhan'] ?></td> <td class="center"><?php echo $hoa_don['ngay_tao'] ?></td> <td class="center"><img width="20px" src="../images/trang_thai_<?php echo $hoa_don['trang_thai'] ?>.png" /></td> <td class="center"> <!-- Icons --> <a href="cap_nhat.php?ma=<?php echo $hoa_don['ma'] ?>" title="Edit"><img src="../skins/sa/resources/images/icons/pencil.png" alt="Edit" /></a> <a href="xoa.php?ma=<?php echo $hoa_don['ma'] ?>" title="Delete" onclick="return confirm('Bạn có chắc chắn muốn xóa không !!!')"><img src="../skins/sa/resources/images/icons/cross.png" alt="Delete" /></a> </td> </tr> <?php } ?> </tbody> </form> </table> </div> <!-- End #tab1 --> </div> <!-- End .content-box-content --> </div> <!-- End .content-box --> <div class="clear"></div> <?php include '../widgets/footer.php'; ?><!-- End #footer --> </div> <!-- End #main-content --> </div></body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/admin/phieu_dang_ky/danh_sach.php
PHP
gpl3
7,566
@charset "utf-8"; /* CSS Document */ /* Begin - Table*/ th.center { text-align:center !important; } td.center { text-align:center !important; } /* End - Table*/ /*Begin - Nut phan trang*/ .pagination a { margin: 0px 1px 0px 0px !important; } /*End - Nut phan trang*/ /*Begin - Form dang nhap*/ .notification div { padding: 10px 10px 10px 30px !important; } #login-wrapper #login-content { width: 365px !important; } #login-wrapper #login-content label { width: 150px !important; } #login-wrapper #login-top { padding: 140px 0 35px; } /*End - Form dang nhap*/
10-ptud-v1
trunk/ 10-ptud-v1/admin/css/style.css
CSS
gpl3
629
<?php require '../ini.php'; require '../../classes/xl_cau_hinh.php'; $dt_xl_cau_hinh = new xl_cau_hinh; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Tuyển dụng [Thông tin]</title> <!-- CSS --> <!-- Reset Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/reset.css" type="text/css" media="screen" /> <!-- Main Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/style.css" type="text/css" media="screen" /> <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid --> <link rel="stylesheet" href="../skins/sa/resources/css/invalid.css" type="text/css" media="screen" /> <!-- Colour Schemes Default colour scheme is green. Uncomment prefered stylesheet to use it. <link rel="stylesheet" href="../skins/sa/resources/css/blue.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../skins/sa/resources/css/red.css" type="text/css" media="screen" /> --> <!-- Internet Explorer Fixes Stylesheet --> <!--[if lte IE 7]> <link rel="stylesheet" href="../skins/sa/resources/css/ie.css" type="text/css" media="screen" /> <![endif]--> <!-- Javascripts --> <!-- jQuery --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery-1.3.2.min.js"></script> <!-- jQuery Configuration --> <script type="text/javascript" src="../skins/sa/resources/scripts/simpla.jquery.configuration.js"></script> <!-- Facebox jQuery Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/facebox.js"></script> <!-- jQuery WYSIWYG Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery.wysiwyg.js"></script> <!-- jQuery CKEDITOR --> <script type="text/javascript" src="../includes/ckeditor/ckeditor.js"></script> <!-- Internet Explorer .png-fix --> <!--[if IE 6]> <script type="text/javascript" src="../skins/sa/resources/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> </head> <body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background --> <?php include '../widgets/sidebar.php'; ?> <!-- End #sidebar --> <div id="main-content"> <!-- Main Content Section with everything --> <?php include '../widgets/noscript.php'; ?> <!-- Page Head --> <!-- End .shortcut-buttons-set --> <div class="clear"></div> <!-- End .clear --> <div class="content-box"><!-- Start Content Box --> <div class="content-box-header"> <h3>Tuyển dụng [Thông tin]</h3> <ul class="content-box-tabs"> <li><a class="default-tab">Thông tin</a></li> <!-- href must be unique and match the id of target div --> <li><a href="danh_sach.php">Danh sách</a></li> </ul> <div class="clear"></div> </div> <!-- End .content-box-header --> <div class="content-box-content"> <div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab --> <?php include '../widgets/thong_bao.php'; ?> <form action="thong_tin_sm.php" method="post" name="fthong_tin"> <fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns --> <table> <tr> <td style="vertical-align:middle"><label>Nội dung chi tiết:</label></td> <td><textarea class="text-input textarea" id="noi_dung" name="noi_dung" cols="80" rows="15"><?php $cau_hinh = $dt_xl_cau_hinh->xem('THONG_TIN_TUYEN_DUNG'); echo $cau_hinh['noi_dung']; ?></textarea> <script type="text/javascript"> CKEDITOR.replace('noi_dung'); </script></td> </tr> <tr> <td colspan="2" style="padding-left:350px"> <input class="button" name="bt_luu_thoat" type="submit" value="Lưu và thoát" onclick="return kiem_tra()" /> <input class="button" name="bt_luu_tieptuc" type="submit" value="Lưu và tiếp tục" onclick="return kiem_tra()" /> <input class="button" name="bt_quay_ve" type="button" value="Quay về" onclick="window.location.href = 'danh_sach.php'" /> </td> </tr> </table> </fieldset> <div class="clear"></div><!-- End .clear --> </form> </div> <!-- End #tab1 --> </div> <!-- End .content-box-content --> </div> <!-- End .content-box --> <div class="clear"></div> <?php include '../widgets/footer.php'; ?><!-- End #footer --> </div> <!-- End #main-content --> </div></body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/admin/tuyen_dung/thong_tin.php
PHP
gpl3
5,897
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Cập nhật thông tin tuyển dụng</title> <!-- CSS --> <!-- Reset Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/reset.css" type="text/css" media="screen" /> <!-- Main Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/style.css" type="text/css" media="screen" /> <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid --> <link rel="stylesheet" href="../skins/sa/resources/css/invalid.css" type="text/css" media="screen" /> <!-- Colour Schemes Default colour scheme is green. Uncomment prefered stylesheet to use it. <link rel="stylesheet" href="../skins/sa/resources/css/blue.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../skins/sa/resources/css/red.css" type="text/css" media="screen" /> --> <!-- Internet Explorer Fixes Stylesheet --> <!--[if lte IE 7]> <link rel="stylesheet" href="../skins/sa/resources/css/ie.css" type="text/css" media="screen" /> <![endif]--> <!-- Javascripts --> <!-- jQuery --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery-1.3.2.min.js"></script> <!-- jQuery Configuration --> <script type="text/javascript" src="../skins/sa/resources/scripts/simpla.jquery.configuration.js"></script> <!-- Facebox jQuery Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/facebox.js"></script> <!-- jQuery WYSIWYG Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery.wysiwyg.js"></script> <!-- Internet Explorer .png-fix --> <!--[if IE 6]> <script type="text/javascript" src="../skins/sa/resources/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> </head> <body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background --> <?php include '../widgets/sidebar.php'; ?> <!-- End #sidebar --> <div id="main-content"> <!-- Main Content Section with everything --> <?php include '../widgets/noscript.php'; ?> <!-- Page Head --> <!-- End .shortcut-buttons-set --> <div class="clear"></div> <!-- End .clear --> <div class="content-box"><!-- Start Content Box --> <div class="content-box-header"> <h3>Tuyển dụng [Cập nhật]</h3> <ul class="content-box-tabs"> <li><a href="danh_sach.php">Danh sách</a></li> <li><a class="default-tab">Cập nhật</a></li> <!-- href must be unique and match the id of target div --> </ul> <div class="clear"></div> </div> <!-- End .content-box-header --> <div class="content-box-content"> <div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab --> <form action="" method="post"> <fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns --> <table> <tr> <td style="vertical-align:middle"><label>Nội dung chi tiết:</label></td> <td><textarea class="text-input textarea wysiwyg" id="noi_dung" name="noi_dung" cols="79" rows="15"></textarea></td> </tr> <tr> <td colspan="2" style="padding-left:350px"> <input class="button" type="submit" value="Cập nhật và thoát" /> <input class="button" type="submit" value="Cập nhật và tiếp tục" /> <input class="button" type="button" value="Quay về" /> </td> </tr> </table> </fieldset> <div class="clear"></div><!-- End .clear --> </form> </div> <!-- End #tab1 --> </div> <!-- End .content-box-content --> </div> <!-- End .content-box --> <div class="clear"></div> <?php include '../widgets/footer.php'; ?><!-- End #footer --> </div> <!-- End #main-content --> </div></body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/admin/tuyen_dung/cap_nhat.php
PHP
gpl3
5,090
<?php require '../ini.php'; require '../../classes/xl_cau_hinh.php'; #Khoi tao doi tuong $dt_xl_cau_hinh = new xl_cau_hinh; #Giu gia tri foreach($_POST as $k => $v) { $_SESSION[$k] = $v; } #Kiem tra tham so if (empty($_POST['noi_dung'])) { $_SESSION['msg'] = 'Dữ liệu không hợp lệ !!!'; $_SESSION['type_msg'] = 'error'; header('Location: thong_tin.php'); exit; } #Lay tham so vao $noi_dung = $_POST['noi_dung']; #Query $result = $dt_xl_cau_hinh->cap_nhat('THONG_TIN_TUYEN_DUNG', $noi_dung); if ($result == false) { $_SESSION['msg'] = 'Cập nhật không thành công !!!'; $_SESSION['type_msg'] = 'error'; header('Location: thong_tin.php'); } else { $_SESSION['msg'] = 'Cập nhật thành công !!!'; $_SESSION['type_msg'] = 'success'; #Kiem tra nut submit la nut nao if(isset($_POST['bt_luu_thoat'])) { header('Location: danh_sach.php'); } elseif(isset($_POST['bt_luu_tieptuc'])) { header('Location: '.$_SERVER['HTTP_REFERER']); } } #Dong ket noi $dt_xl_cau_hinh->disconnect(); ?>
10-ptud-v1
trunk/ 10-ptud-v1/admin/tuyen_dung/thong_tin_sm.php
PHP
gpl3
1,119
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Simpla Admin</title> <!-- CSS --> <!-- Reset Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/reset.css" type="text/css" media="screen" /> <!-- Main Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/style.css" type="text/css" media="screen" /> <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid --> <link rel="stylesheet" href="../skins/sa/resources/css/invalid.css" type="text/css" media="screen" /> <!-- Colour Schemes Default colour scheme is green. Uncomment prefered stylesheet to use it. <link rel="stylesheet" href="../skins/sa/resources/css/blue.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../skins/sa/resources/css/red.css" type="text/css" media="screen" /> --> <!-- Internet Explorer Fixes Stylesheet --> <!--[if lte IE 7]> <link rel="stylesheet" href="../skins/sa/resources/css/ie.css" type="text/css" media="screen" /> <![endif]--> <!-- Javascripts --> <!-- jQuery --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery-1.3.2.min.js"></script> <!-- jQuery Configuration --> <script type="text/javascript" src="../skins/sa/resources/scripts/simpla.jquery.configuration.js"></script> <!-- Facebox jQuery Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/facebox.js"></script> <!-- jQuery WYSIWYG Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery.wysiwyg.js"></script> <!-- Internet Explorer .png-fix --> <!--[if IE 6]> <script type="text/javascript" src="../skins/sa/resources/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> </head> <body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background --> <?php include '../widgets/sidebar.php'; ?> <!-- End #sidebar --> <div id="main-content"> <!-- Main Content Section with everything --> <?php include '../widgets/noscript.php'; ?> <!-- Page Head --> <!-- End .shortcut-buttons-set --> <div class="clear"></div> <!-- End .clear --> <div class="content-box"><!-- Start Content Box --> <div class="content-box-header"> <h3>Tuyển dụng [Danh sách]</h3> <ul class="content-box-tabs"> <li><a href="thong_tin.php">Thông tin</a></li> <!-- href must be unique and match the id of target div --> <li><a class="default-tab">Danh sách</a></li> </ul> <div class="clear"></div> </div> <!-- End .content-box-header --> <div class="content-box-content"> <div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab --> <div><span style="font-size:14px"><b>Từ khóa:</b></span> <input class="text-input medium-input" type="text" id="tu_khoa" name="tu_khoa" /> <input class="button" type="submit" value="Tìm kiếm" /> <input class="button" type="submit" value="Tất cả" /> </div> <table> <thead> <tr> <th><input class="check-all" type="checkbox" /></th> <th>Mã</th> <th>Họ &amp; tên</th> <th>Ngày sinh</th> <th>Giới tính</th> <th>Vị trí ứng tuyển</th> <th>Trạng thái</th> <th>Thao tác</th> </tr> </thead> <tfoot> <tr> <td colspan="6"> <div class="bulk-actions align-left"> <select name="dropdown"> <option value="option1">Choose an action...</option> <option value="option2">Edit</option> <option value="option3">Delete</option> </select> <a class="button" href="#">Apply to selected</a> </div> <div class="pagination"> <a href="#" title="First Page">&laquo; First</a><a href="#" title="Previous Page">&laquo; Previous</a> <a href="#" class="number" title="1">1</a> <a href="#" class="number" title="2">2</a> <a href="#" class="number current" title="3">3</a> <a href="#" class="number" title="4">4</a> <a href="#" title="Next Page">Next &raquo;</a><a href="#" title="Last Page">Last &raquo;</a> </div> <!-- End .pagination --> <div class="clear"></div> </td> </tr> </tfoot> <tbody> <tr> <td><input type="checkbox" /></td> <td>1</td> <td>Nguyễn Như Ngọc</td> <td>aaaaaaaaaa</td> <td><img width="20px" src="../images/gioi_tinh_0.png" /></td> <td>ssssssssss</td> <td><img width="20px" src="../images/trang_thai_1.png" /></td> <td> <!-- Icons --> <a href="#" title="Edit"><img src="../skins/sa/resources/images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="../skins/sa/resources/images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="../skins/sa/resources/images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a> </td> </tr> <tr> <td><input type="checkbox" /></td> <td>1</td> <td>Nguyễn Như Ngọc</td> <td>aaaaaaaaaa</td> <td><img width="20px" src="../images/gioi_tinh_0.png" /></td> <td>ssssssssss</td> <td><img width="20px" src="../images/trang_thai_1.png" /></td> <td> <!-- Icons --> <a href="#" title="Edit"><img src="../skins/sa/resources/images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete"><img src="../skins/sa/resources/images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="../skins/sa/resources/images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a> </td> </tr> </tbody> </table> </div> <!-- End #tab1 --> </div> <!-- End .content-box-content --> </div> <!-- End .content-box --> <div class="clear"></div> <?php include '../widgets/footer.php'; ?><!-- End #footer --> </div> <!-- End #main-content --> </div></body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/admin/tuyen_dung/danh_sach.php
PHP
gpl3
7,327
<?php require '../ini.php'; require '../../classes/xl_loai_bai_viet.php'; #Mo ket noi & chon csdl $dt_xl_loai_bai_viet = new xl_loai_bai_viet; function in_loai_bai_viet ($ds_loai_bai_viet, $ma, $ki_tu) { foreach($ds_loai_bai_viet as $loai_bai_viet) { if($loai_bai_viet['ma_loai_cha'] == $ma) { echo '<option value="'.$loai_bai_viet['ma'].'">'.$ki_tu.$loai_bai_viet['ten'].'</option>'; in_loai_bai_viet ($ds_loai_bai_viet, $loai_bai_viet['ma'], $ki_tu.$ki_tu); } } } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Loại bài viết [Thêm]</title> <!-- CSS --> <!-- Reset Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/reset.css" type="text/css" media="screen" /> <!-- Main Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/style.css" type="text/css" media="screen" /> <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid --> <link rel="stylesheet" href="../skins/sa/resources/css/invalid.css" type="text/css" media="screen" /> <!-- Colour Schemes Default colour scheme is green. Uncomment prefered stylesheet to use it. <link rel="stylesheet" href="../skins/sa/resources/css/blue.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../skins/sa/resources/css/red.css" type="text/css" media="screen" /> --> <!-- Internet Explorer Fixes Stylesheet --> <!--[if lte IE 7]> <link rel="stylesheet" href="../skins/sa/resources/css/ie.css" type="text/css" media="screen" /> <![endif]--> <!-- Javascripts --> <!-- jQuery --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery-1.3.2.min.js"></script> <!-- jQuery Configuration --> <script type="text/javascript" src="../skins/sa/resources/scripts/simpla.jquery.configuration.js"></script> <!-- Facebox jQuery Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/facebox.js"></script> <!-- jQuery WYSIWYG Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery.wysiwyg.js"></script> <!-- Internet Explorer .png-fix --> <!--[if IE 6]> <script type="text/javascript" src="../skins/sa/resources/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> <script type="text/javascript"> function kiem_tra(){ //Khi có form thì ta sử dụng document.tên form.tên điều khiển //VD: document.fthem.ma_sua.value /* if(document.getElementById('ma_sua').value == ''){ alert('Bạn chưa nhập mã sữa, vui lòng kiểm tra lại!!!'); document.getElementById('ma_sua').focus(); return false; } */ var f = document.fthem; if(f.ten.value == ''){ alert('Bạn chưa nhập tên bài viết, vui lòng kiểm tra lại!!!'); f.ten.focus(); return false; } } </script> </head> <body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background --> <?php include '../widgets/sidebar.php' ?> <!-- End #sidebar --> <div id="main-content"> <!-- Main Content Section with everything --> <?php include '../widgets/noscript.php'; ?> <!-- Page Head --> <!-- End .shortcut-buttons-set --> <div class="clear"></div> <!-- End .clear --> <div class="content-box"><!-- Start Content Box --> <div class="content-box-header"> <h3>Loại bài viết [Thêm]</h3> <ul class="content-box-tabs"> <li><a href="danh_sach.php">Danh sách</a></li> <!-- href must be unique and match the id of target div --> <li><a class="default-tab">Thêm</a></li> </ul> <div class="clear"></div> </div> <!-- End .content-box-header --> <div class="content-box-content"> <div class="tab-content default-tab" id="tab2"> <?php include '../widgets/thong_bao.php'; ?> <form action="them_sm.php" method="post" id="fthem" name="fthem"> <fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns --> <table> <tr> <td><label>Tên <span style="color:red">(*)</span>:</label></td> <td><input class="text-input medium-input" type="text" id="ten" name="ten" value="<?php if(isset($_SESSION['ten'])){ echo $_SESSION['ten']; unset($_SESSION['ten']); }?>" /></td> </tr> <tr> <td><label>Tên loại cha:</label></td> <td> <select name="ma_loai_cha"> <option value="0">--No parent--</option> <?php $ds_loai_bai_viet_all = $dt_xl_loai_bai_viet->danh_sach_all(); in_loai_bai_viet($ds_loai_bai_viet_all, 0, '--'); ?> </select> </td> <tr> <td><label>Thứ tự hiển thị:</label></td> <td><input class="text-input medium-input" type="text" id="thu_tu" name="thu_tu" value="<?php if(isset($_SESSION['thu_tu'])){ echo $_SESSION['thu_tu']; unset($_SESSION['thu_tu']); }?>" /></td> </tr> <tr> <td style="vertical-align:middle"><label>Mô tả:</label></td> <td><textarea class="text-input textarea" id="mo_ta" name="mo_ta" rows="10"><?php if(isset($_SESSION['mo_ta'])){ echo $_SESSION['mo_ta']; unset($_SESSION['mo_ta']); } ?></textarea> </td> </tr> <tr> <td colspan="2" style="padding-left:350px"> <input class="button" name="bt_luu_thoat" type="submit" value="Lưu và thoát" onclick="return kiem_tra()" /> <input class="button" name="bt_luu_tieptuc" type="submit" value="Lưu và tiếp tục" onclick="return kiem_tra()" /> <input class="button" name="bt_quay_ve" type="button" value="Quay về" onclick="window.location.href = 'danh_sach.php'" /> </td> </tr> </table> </fieldset> <div class="clear"></div><!-- End .clear --> </form> </div> <!-- End #tab2 --> </div> <!-- End .content-box-content --> </div> <!-- End .content-box --> <div class="clear"></div> <?php include '../widgets/footer.php'; ?><!-- End #footer --> </div> <!-- End #main-content --> </div></body> </html> <?php $dt_xl_loai_bai_viet->disconnect(); ?>
10-ptud-v1
trunk/ 10-ptud-v1/admin/loai_bai_viet/them.php
PHP
gpl3
8,562
<?php require '../ini.php'; require '../../classes/xl_loai_bai_viet.php'; $dt_xl_loai_bai_viet = new xl_loai_bai_viet; #Dem so phan tu cua mang item $n = count($_POST['item']); #Kiem tra so phan tu trong mang item if ($n == 0) { $_SESSION['msg'] = 'Vui lòng chọn dữ liệu trước khi xóa !!!'; $_SESSION['type_msg'] = 'error'; header('Location: '.$_SERVER['HTTP_REFERER']); exit; } $str = ''; #Thuc hien xoa nhieu for($i = 0; $i<$n; $i++) { $ma = $_POST['item'][$i]; $result = $dt_xl_loai_bai_viet->xoa($ma); if($result == false) { $str .= $ma.','; } } $str = trim($str,','); if($str == '') { $_SESSION['msg'] = 'Xóa thành công !!!'; $_SESSION['type_msg'] = 'success'; header('Location: '.$_SERVER['HTTP_REFERER']); exit; }else { $_SESSION['msg'] = "Mã $str xóa không thành công !!!"; $_SESSION['type_msg'] = 'attention'; header('Location: '.$_SERVER['HTTP_REFERER']); exit; } #Dong ket noi $dt_xl_loai_bai_viet->disconnect(); ?>
10-ptud-v1
trunk/ 10-ptud-v1/admin/loai_bai_viet/xoa_nhieu.php
PHP
gpl3
1,068
<?php require '../ini.php'; require '../../classes/xl_loai_bai_viet.php'; $dt_xl_loai_bai_viet = new xl_loai_bai_viet; #Kiem tra tham so if (empty($_GET['ma'])) { $_SESSION['msg'] = 'Dữ liệu không hợp lệ !!!'; $_SESSION['type_msg'] = 'error'; header('Location: danh_sach.php'); exit; } #Lay tham so vao $ma = $_GET['ma']; #Kiem tra ma $loai_bai_viet = $dt_xl_loai_bai_viet->xem($ma); if ($loai_bai_viet == NULL) { $_SESSION['msg'] = 'Mã không tồn tại !!!'; $_SESSION['type_msg'] = 'error'; header('Location: danh_sach.php'); exit; } #Kiem tra ma nay co con hay khong? $loai_bai_viet = $dt_xl_loai_bai_viet->kiem_tra_co_con($ma); if ($loai_bai_viet == NULL) { $_SESSION['msg'] = 'Không xóa được vì có liên quan đến dữ liệu khác !!!'; $_SESSION['type_msg'] = 'error'; header('Location: danh_sach.php'); exit; } #Query $result = $dt_xl_loai_bai_viet->xoa($ma); if ($result == false) { $_SESSION['msg'] = 'Xóa không thành công !!!'; $_SESSION['type_msg'] = 'error'; header('Location: '.$_SERVER['HTTP_REFERER']); } else { $_SESSION['msg'] = 'Xóa thành công !!!'; $_SESSION['type_msg'] = 'success'; header('Location: '.$_SERVER['HTTP_REFERER']); exit; } #Dong ket noi $dt_xl_loai_bai_viet->disconnect(); ?>
10-ptud-v1
trunk/ 10-ptud-v1/admin/loai_bai_viet/xoa.php
PHP
gpl3
1,389
<?php require '../ini.php'; require '../../classes/xl_loai_bai_viet.php'; #Khoi tao doi tuong $dt_xl_loai_bai_viet = new xl_loai_bai_viet; #In loai bai viet function in_loai_bai_viet ($ds_loai_bai_viet, $ma, $ki_tu, $ma_chon, $maan) { foreach($ds_loai_bai_viet as $loai_bai_viet) { if($loai_bai_viet['ma_loai_cha'] == $ma && $loai_bai_viet['ma'] != $maan) { if($loai_bai_viet['ma'] == $ma_chon) { echo '<option selected="selected" value="'.$loai_bai_viet['ma'].'">'.$ki_tu.$loai_bai_viet['ten'].'</option>'; }else { echo '<option value="'.$loai_bai_viet['ma'].'">'.$ki_tu.$loai_bai_viet['ten'].'</option>'; } in_loai_bai_viet ($ds_loai_bai_viet, $loai_bai_viet['ma'], $ki_tu.$ki_tu, $ma_chon, $maan); } } } #Kiem tra co ton tai ma hay khong if(empty($_GET['ma'])){ $_SESSION['msg'] = 'Dữ liệu không hợp lệ !!!'; $_SESSION['type_msg'] = 'error'; header('Location: danh_sach.php'); exit; } #Doc mot dong trong bang loai_bai_viet trong CSDL $ma = $_GET['ma']; $loai_bai_viet = $dt_xl_loai_bai_viet->xem($ma); #Kiem tra ma co trong CSDL hay khong if($loai_bai_viet == NULL){ $_SESSION['msg'] = 'Mã không tồn tại!!!'; $_SESSION['type_msg'] = 'error'; header('Location: danh_sach.php'); exit; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Loại bài viết [Cập nhật]</title> <!-- CSS --> <!-- Reset Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/reset.css" type="text/css" media="screen" /> <!-- Main Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/style.css" type="text/css" media="screen" /> <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid --> <link rel="stylesheet" href="../skins/sa/resources/css/invalid.css" type="text/css" media="screen" /> <!-- Colour Schemes Default colour scheme is green. Uncomment prefered stylesheet to use it. <link rel="stylesheet" href="../skins/sa/resources/css/blue.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../skins/sa/resources/css/red.css" type="text/css" media="screen" /> --> <!-- Internet Explorer Fixes Stylesheet --> <!--[if lte IE 7]> <link rel="stylesheet" href="../skins/sa/resources/css/ie.css" type="text/css" media="screen" /> <![endif]--> <!-- Javascripts --> <!-- jQuery --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery-1.3.2.min.js"></script> <!-- jQuery Configuration --> <script type="text/javascript" src="../skins/sa/resources/scripts/simpla.jquery.configuration.js"></script> <!-- Facebox jQuery Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/facebox.js"></script> <!-- jQuery WYSIWYG Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery.wysiwyg.js"></script> <!-- Internet Explorer .png-fix --> <!--[if IE 6]> <script type="text/javascript" src="../skins/sa/resources/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> <script type="text/javascript"> function kiem_tra(){ //Khi có form thì ta sử dụng document.tên form.tên điều khiển //VD: document.fthem.ma_sua.value /* if(document.getElementById('ma_sua').value == ''){ alert('Bạn chưa nhập mã sữa, vui lòng kiểm tra lại!!!'); document.getElementById('ma_sua').focus(); return false; } */ var f = document.fcap_nhat; if(f.ten.value == ''){ alert('Bạn chưa nhập tên bài viết, vui lòng kiểm tra lại!!!'); f.ten.focus(); return false; } } </script> </head> <body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background --> <?php include '../widgets/sidebar.php' ?> <!-- End #sidebar --> <div id="main-content"> <!-- Main Content Section with everything --> <?php include '../widgets/noscript.php'; ?> <!-- Page Head --> <!-- End .shortcut-buttons-set --> <div class="clear"></div> <!-- End .clear --> <div class="content-box"><!-- Start Content Box --> <div class="content-box-header"> <h3>Loại bài viết [Cập nhật]</h3> <ul class="content-box-tabs"> <li><a href="danh_sach.php">Danh sách</a></li> <!-- href must be unique and match the id of target div --> <li><a class="default-tab">Cập nhật</a></li> </ul> <div class="clear"></div> </div> <!-- End .content-box-header --> <div class="content-box-content"> <div class="tab-content default-tab" id="tab2"> <?php include '../widgets/thong_bao.php'; ?> <form action="cap_nhat_sm.php" name="fcap_nhat" id="fcap_nhat" method="post"> <input type="hidden" name="ma" value="<?php echo $loai_bai_viet['ma']?>"/> <fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns --> <table> <tr> <td><label>Tên <span style="color:red">(*)</span>:</label></td> <td><input class="text-input medium-input" type="text" id="ten" name="ten" value="<?php echo $loai_bai_viet['ten']?>" /></td> </tr> <tr> <td><label>Tên loại cha:</label></td> <td> <select name="ma_loai_cha"> <option value="0">--No parent--</option> <?php $ds_loai_bai_viet_all = $dt_xl_loai_bai_viet->danh_sach_all(); in_loai_bai_viet($ds_loai_bai_viet_all, 0, '==', $loai_bai_viet['ma_loai_cha'],$loai_bai_viet['ma']); ?> </select> </td> <tr> <td><label>Thứ tự hiển thị:</label></td> <td><input class="text-input medium-input" type="text" id="thu_tu" name="thu_tu" value="<?php echo $loai_bai_viet['thu_tu_hien_thi']?>" /></td> </tr> <tr> <td style="vertical-align:middle"><label>Mô tả:</label></td> <td><textarea class="text-input textarea" id="mo_ta" name="mo_ta" rows="10" ><?php echo $loai_bai_viet['mo_ta']?></textarea> </td> </tr> <tr> <td colspan="2" style="padding-left:350px"> <input class="button" name="bt_luu_thoat" type="submit" value="Lưu và thoát" onclick="return kiem_tra()" /> <input class="button" name="bt_luu_tieptuc" type="submit" value="Lưu và tiếp tục" onclick="return kiem_tra()" /> <input class="button" name="bt_quay_ve" type="button" value="Quay về" onclick="window.location.href = 'danh_sach.php'" /> </td> </tr> </table> </fieldset> <div class="clear"></div><!-- End .clear --> </form> </div> <!-- End #tab2 --> </div> <!-- End .content-box-content --> </div> <!-- End .content-box --> <div class="clear"></div> <?php include '../widgets/footer.php'; ?><!-- End #footer --> </div> <!-- End #main-content --> </div></body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/admin/loai_bai_viet/cap_nhat.php
PHP
gpl3
8,951
<?php require '../ini.php'; require '../../classes/xl_loai_bai_viet.php'; require '../../classes/pager.php'; $dt_xl_loai_bai_viet = new xl_loai_bai_viet; $dt_pager = new pager; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Loại bài viết [Danh sách]</title> <!-- CSS --> <!-- Reset Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/reset.css" type="text/css" media="screen" /> <!-- Main Stylesheet --> <link rel="stylesheet" href="../skins/sa/resources/css/style.css" type="text/css" media="screen" /> <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid --> <link rel="stylesheet" href="../skins/sa/resources/css/invalid.css" type="text/css" media="screen" /> <!-- Cau hinh lai css --> <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" /> <!-- Colour Schemes Default colour scheme is green. Uncomment prefered stylesheet to use it. <link rel="stylesheet" href="../skins/sa/resources/css/blue.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../skins/sa/resources/css/red.css" type="text/css" media="screen" /> --> <!-- Internet Explorer Fixes Stylesheet --> <!--[if lte IE 7]> <link rel="stylesheet" href="../skins/sa/resources/css/ie.css" type="text/css" media="screen" /> <![endif]--> <!-- Javascripts --> <!-- jQuery --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery-1.3.2.min.js"></script> <!-- jQuery Configuration --> <script type="text/javascript" src="../skins/sa/resources/scripts/simpla.jquery.configuration.js"></script> <!-- Facebox jQuery Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/facebox.js"></script> <!-- jQuery WYSIWYG Plugin --> <script type="text/javascript" src="../skins/sa/resources/scripts/jquery.wysiwyg.js"></script> <!-- Internet Explorer .png-fix --> <!--[if IE 6]> <script type="text/javascript" src="../skins/sa/resources/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> </head> <body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background --> <?php include '../widgets/sidebar.php'; ?> <!-- End #sidebar --> <div id="main-content"> <!-- Main Content Section with everything --> <?php include '../widgets/noscript.php'; ?> <!-- Page Head --> <!-- End .shortcut-buttons-set --> <div class="clear"></div> <!-- End .clear --> <div class="content-box"><!-- Start Content Box --> <div class="content-box-header"> <h3>Loại bài viết [Danh sách]</h3> <ul class="content-box-tabs"> <li><a class="default-tab">Danh sách</a></li> <!-- href must be unique and match the id of target div --> <li><a href="them.php">Thêm</a></li> </ul> <div class="clear"></div> </div> <!-- End .content-box-header --> <div class="content-box-content"> <div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab --> <?php include '../widgets/thong_bao.php'; ?> <form action="danh_sach.php" method="get"> <div><span style="font-size:14px"><b>Từ khóa:</b></span> <input class="text-input medium-input" type="text" name="tu_khoa" style="width:200px !important" /> <select name="loai_ho_tro"> <option value="-1">Tất cả</option> <option value="0" >Tên</option> <option value="1" >Tên loại cha</option> </select> <input class="button" type="submit" value="Tìm kiếm" />&nbsp; <input class="button" type="button" value="Tất cả" onclick="window.location.href = 'danh_sach.php'" /> </div> </form> <table> <thead> <tr> <th class="center"><input class="check-all" type="checkbox" /></th> <th class="center">STT</th> <th class="center">Tên</th> <th class="center">Tên loại cha</th> <th class="center">Thứ tự hiển thị</th> <th class="center">Thao tác</th> </tr> </thead> <tfoot> <tr> <td colspan="6"> <div class="bulk-actions align-left"> <input class="button" name="bt_xoa_nhieu" type="button" value="Xóa nhiều" onclick="document.fList.submit()" /> </div> <div class="pagination"> <?php #Tim tong so record $tong_so_mau_tin = $dt_xl_loai_bai_viet->so_luong(); #Tim tong so trang $tong_so_trang = $dt_pager->tim_tong_so_trang($tong_so_mau_tin, ADMIN_LIMIT); #In bo nut $dt_pager->in_bo_nut($tong_so_trang); ?> </div> <!-- End .pagination --> <div class="clear"></div> </td> </tr> </tfoot> <form action="xoa_nhieu.php" method="post" name="fList"> <tbody> <?php #Vi tri bat dau (de query vao mysql) $vi_tri = $dt_pager->tim_vi_tri_bat_dau(ADMIN_LIMIT); #Goi ham danh sach de tra ra danh sach can lay $ds_loai_bai_viet = $dt_xl_loai_bai_viet->danh_sach($vi_tri, ADMIN_LIMIT); $i = $vi_tri; foreach($ds_loai_bai_viet as $loai_bai_viet) { $ten_loai_cha = $dt_xl_loai_bai_viet->xem_ten_loai_cha($loai_bai_viet['ma_loai_cha']); ?> <tr> <td class="center"><input type="checkbox" name="item[]" value="<?php echo $loai_bai_viet['ma'] ?>" /></td> <td class="center"><?php echo ++$i ?></td> <td class="center"><a href="#" title="title"><?php echo $loai_bai_viet['ten'] ?></a></td> <td class="center"><?php echo $ten_loai_cha['ten'] ?></td> <td class="center"><?php echo $loai_bai_viet['thu_tu_hien_thi'] ?></td> <td class="center"> <!-- Icons --> <a href="cap_nhat.php?ma=<?php echo $loai_bai_viet['ma'] ?>" title="Edit"><img src="../skins/sa/resources/images/icons/pencil.png" alt="Edit" /></a> <a href="xoa.php?ma=<?php echo $loai_bai_viet['ma'] ?>" title="Delete"><img src="../skins/sa/resources/images/icons/cross.png" alt="Delete" onclick="return confirm('Bạn có chắc chắn muốn xóa không !!!')" /></a> </td> </tr> <?php } ?> </tbody> </form> </table> </div> <!-- End #tab1 --> </div> <!-- End .content-box-content --> </div> <!-- End .content-box --> <div class="clear"></div> <?php include '../widgets/footer.php'; ?><!-- End #footer --> </div> <!-- End #main-content --> </div></body> </html> <?php $dt_xl_loai_bai_viet->disconnect(); ?>
10-ptud-v1
trunk/ 10-ptud-v1/admin/loai_bai_viet/danh_sach.php
PHP
gpl3
8,174
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ body { /* Font */ font-family: Arial, Verdana, sans-serif; font-size: 12px; /* Text color */ color: #222; /* Remove the background color to make it transparent */ background-color: #fff; } ol,ul,dl { /* IE7: reset rtl list margin. (#7334) */ *margin-right:0px; /* preserved spaces for list items with text direction other than the list. (#6249,#8049)*/ padding:0 40px; }
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/contents.css
CSS
gpl3
559
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Installation Guide - CKEditor</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <style type="text/css"> h3 { border-bottom: 1px solid #AAAAAA; } pre { background-color: #F9F9F9; border: 1px dashed #2F6FAB; padding: 1em; line-height: 1.1em; } #footer hr { margin: 10px 0 15px 0; height: 1px; border: solid 1px gray; border-bottom: none; } #footer p { margin: 0 10px 10px 10px; float: left; } #footer #copy { float: right; } </style> </head> <body> <h1> CKEditor Installation Guide</h1> <h3> What&#39;s CKEditor?</h3> <p> CKEditor is a text editor to be used inside web pages. It&#39;s not a replacement for desktop text editors like Word or OpenOffice, but a component to be used as part of web applications and web sites.</p> <h3> Installation</h3> <p> Installing CKEditor is an easy task. Just follow these simple steps:</p> <ol> <li><strong>Download</strong> the latest version of the editor from our web site: <a href="http://ckeditor.com">http://ckeditor.com</a>. You should have already completed this step, but be sure you have the very latest version.</li> <li><strong>Extract</strong> (decompress) the downloaded file into the root of your web site.</li> </ol> <p> <strong>Note:</strong> CKEditor is by default installed in the &quot;ckeditor&quot; folder. You can place the files in whichever you want though.</p> <h3> Checking Your Installation </h3> <p> The editor comes with a few sample pages that can be used to verify that installation proceeded properly. Take a look at the <a href="_samples">_samples</a> directory.</p> <p> To test your installation, just call the following page at your web site:</p> <pre> http://&lt;your site&gt;/&lt;CKEditor installation path&gt;/_samples/index.html For example: http://www.example.com/ckeditor/_samples/index.html</pre> <h3> Documentation</h3> <p> The full editor documentation is available online at the following address:<br /> <a href="http://docs.cksource.com/ckeditor">http://docs.cksource.com/ckeditor</a></p> <div id="footer"> <hr /> <p> CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a> </p> <p id="copy"> Copyright &copy; 2003-2012, <a href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved. </p> </div> </body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/INSTALL.html
HTML
gpl3
2,859
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!-- Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script type="text/javascript"> function gup( name ) { name = name.replace( /[\[]/, '\\\[' ).replace( /[\]]/, '\\\]' ) ; var regexS = '[\\?&]' + name + '=([^&#]*)' ; var regex = new RegExp( regexS ) ; var results = regex.exec( window.location.href ) ; if ( results ) return results[ 1 ] ; else return '' ; } var interval; function sendData2Master() { var destination = window.parent.parent ; try { if ( destination.XDTMaster ) { var t = destination.XDTMaster.read( [ gup( 'cmd' ), gup( 'data' ) ] ) ; window.clearInterval( interval ) ; } } catch (e) {} } function onLoad() { interval = window.setInterval( sendData2Master, 100 ); } </script> </head> <body onload="onLoad()"><p></p></body> </html>
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/wsc/dialogs/ciframe.html
HTML
gpl3
1,120
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <!-- Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script type="text/javascript"> function doLoadScript( url ) { if ( !url ) return false ; var s = document.createElement( "script" ) ; s.type = "text/javascript" ; s.src = url ; document.getElementsByTagName( "head" )[ 0 ].appendChild( s ) ; return true ; } var opener; function tryLoad() { opener = window.parent; // get access to global parameters var oParams = window.opener.oldFramesetPageParams; // make frameset rows string prepare var sFramesetRows = ( parseInt( oParams.firstframeh, 10 ) || '30') + ",*," + ( parseInt( oParams.thirdframeh, 10 ) || '150' ) + ',0' ; document.getElementById( 'itFrameset' ).rows = sFramesetRows ; // dynamic including init frames and crossdomain transport code // from config sproxy_js_frameset url var addScriptUrl = oParams.sproxy_js_frameset ; doLoadScript( addScriptUrl ) ; } </script> </head> <frameset id="itFrameset" onload="tryLoad();" border="0" rows="30,*,*,0"> <frame scrolling="no" framespacing="0" frameborder="0" noresize="noresize" marginheight="0" marginwidth="2" src="" name="navbar"></frame> <frame scrolling="auto" framespacing="0" frameborder="0" noresize="noresize" marginheight="0" marginwidth="0" src="" name="mid"></frame> <frame scrolling="no" framespacing="0" frameborder="0" noresize="noresize" marginheight="1" marginwidth="1" src="" name="bot"></frame> <frame scrolling="no" framespacing="0" frameborder="0" noresize="noresize" marginheight="1" marginwidth="1" src="" name="spellsuggestall"></frame> </frameset> </html>
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/wsc/dialogs/tmpFrameset.html
HTML
gpl3
1,935
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','cy',{placeholder:{title:"Priodweddau'r Daliwr Geiriau",toolbar:'Creu Daliwr Geiriau',text:'Testun y Daliwr Geiriau',edit:"Golygu'r Dailwr Geiriau",textMissing:"Mae'n rhaid i'r daliwr geiriau gynnwys testun."}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/cy.js
JavaScript
gpl3
407
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','tr',{placeholder:{title:'Yer tutucu özellikleri',toolbar:'Yer tutucu oluşturun',text:'Yer tutucu metini',edit:'Yer tutucuyu düzenle',textMissing:'Yer tutucu metin içermelidir.'}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/tr.js
JavaScript
gpl3
380
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','nb',{placeholder:{title:'Egenskaper for plassholder',toolbar:'Opprett plassholder',text:'Tekst for plassholder',edit:'Rediger plassholder',textMissing:'Plassholderen må inneholde tekst.'}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/nb.js
JavaScript
gpl3
387
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','fr',{placeholder:{title:"Propriétés de l'Espace réservé",toolbar:"Créer l'Espace réservé",text:"Texte de l'Espace réservé",edit:"Modifier l'Espace réservé",textMissing:"L'Espace réservé doit contenir du texte."}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/fr.js
JavaScript
gpl3
423
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','fa',{placeholder:{title:'ویژگیهای محل نگهداری',toolbar:'ایجاد یک محل نگهداری',text:'متن محل نگهداری',edit:'ویرایش محل نگهداری',textMissing:'محل نگهداری باید محتوی متن باشد.'}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/fa.js
JavaScript
gpl3
463
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','eo',{placeholder:{title:'Atributoj de la rezervita spaco',toolbar:'Krei la rezervitan spacon',text:'Texto de la rezervita spaco',edit:'Modifi la rezervitan spacon',textMissing:'La rezervita spaco devas enteni tekston.'}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/eo.js
JavaScript
gpl3
418
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','uk',{placeholder:{title:'Налаштування Заповнювача',toolbar:'Створити Заповнювач',text:'Текст Заповнювача',edit:'Редагувати Заповнювач',textMissing:'Заповнювач повинен містити текст.'}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/uk.js
JavaScript
gpl3
488
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','he',{placeholder:{title:'מאפייני שומר מקום',toolbar:'צור שומר מקום',text:'תוכן שומר המקום',edit:'ערוך שומר מקום',textMissing:'שומר המקום חייב להכיל טקסט.'}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/he.js
JavaScript
gpl3
427
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','de',{placeholder:{title:'Platzhalter Einstellungen',toolbar:'Platzhalter erstellen',text:'Platzhalter Text',edit:'Platzhalter bearbeiten',textMissing:'Der Platzhalter muss einen Text beinhalten.'}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/de.js
JavaScript
gpl3
395
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','no',{placeholder:{title:'Egenskaper for plassholder',toolbar:'Opprett plassholder',text:'Tekst for plassholder',edit:'Rediger plassholder',textMissing:'Plassholderen må inneholde tekst.'}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/no.js
JavaScript
gpl3
387
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','el',{placeholder:{title:'Ιδιότητες Υποκατάστατου Κειμένου',toolbar:'Δημιουργία Υποκατάσταστου Κειμένου',text:'Υποκαθιστόμενο Κείμενο',edit:'Επεξεργασία Υποκατάσταστου Κειμένου',textMissing:'Πρέπει να υπάρχει υποκαθιστόμενο κείμενο.'}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/el.js
JavaScript
gpl3
584
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','vi',{placeholder:{title:'Thuộc tính đặt chỗ',toolbar:'Tạo đặt chỗ',text:'Văn bản đặt chỗ',edit:'Edit Placeholder',textMissing:'The placeholder must contain text.'}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/vi.js
JavaScript
gpl3
385
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','it',{placeholder:{title:'Proprietà segnaposto',toolbar:'Crea segnaposto',text:'Testo segnaposto',edit:'Modifica segnaposto',textMissing:'Il segnaposto deve contenere del testo.'}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/it.js
JavaScript
gpl3
378
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','nl',{placeholder:{title:'Eigenschappen placeholder',toolbar:'Placeholder aanmaken',text:'Placeholder tekst',edit:'Placeholder wijzigen',textMissing:'De placeholder moet tekst bevatten.'}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/nl.js
JavaScript
gpl3
385
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','da',{placeholder:{title:'Egenskaber for pladsholder',toolbar:'Opret pladsholder',text:'Tekst til pladsholder',edit:'Rediger pladsholder',textMissing:'Pladsholder skal indeholde tekst'}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/da.js
JavaScript
gpl3
383
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','et',{placeholder:{title:'Kohahoidja omadused',toolbar:'Kohahoidja loomine',text:'Kohahoidja tekst',edit:'Kohahoidja muutmine',textMissing:'Kohahoidja peab sisaldama teksti.'}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/et.js
JavaScript
gpl3
373
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','pl',{placeholder:{title:'Właściwości wypełniacza',toolbar:'Utwórz wypełniacz',text:'Tekst wypełnienia',edit:'Edytuj wypełnienie',textMissing:'Wypełnienie musi posiadać jakiś tekst.'}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/pl.js
JavaScript
gpl3
392
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','cs',{placeholder:{title:'Vlastnosti vyhrazeného prostoru',toolbar:'Vytvořit vyhrazený prostor',text:'Vyhrazený text',edit:'Upravit vyhrazený prostor',textMissing:'Vyhrazený prostor musí obsahovat text.'}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/cs.js
JavaScript
gpl3
409
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','hr',{placeholder:{title:'Svojstva rezerviranog mjesta',toolbar:'Napravi rezervirano mjesto',text:'Tekst rezerviranog mjesta',edit:'Uredi rezervirano mjesto',textMissing:'Rezervirano mjesto mora sadržavati tekst.'}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/hr.js
JavaScript
gpl3
413
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','fi',{placeholder:{title:'Paikkamerkin ominaisuudet',toolbar:'Luo paikkamerkki',text:'Paikkamerkin teksti',edit:'Muokkaa paikkamerkkiä',textMissing:'Paikkamerkin täytyy sisältää tekstiä'}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/fi.js
JavaScript
gpl3
391
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','ug',{placeholder:{title:'ئورۇن بەلگە خاسلىقى',toolbar:'ئورۇن بەلگە قۇر',text:'ئورۇن بەلگە تېكىستى',edit:'ئورۇن بەلگە تەھرىر',textMissing:'ئورۇن بەلگىسىدە چوقۇم تېكىست بولۇشى لازىم'}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/ug.js
JavaScript
gpl3
479
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','zh-cn',{placeholder:{title:'占位符属性',toolbar:'创建占位符',text:'占位符文字',edit:'编辑占位符',textMissing:'占位符必需包含有文字'}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/zh-cn.js
JavaScript
gpl3
361
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','bg',{placeholder:{title:'Настройки на контейнера',toolbar:'Нов контейнер',text:'Текст за контейнера',edit:'Промяна на контейнер',textMissing:'Контейнера трябва да съдържа текст.'}});
10-ptud-v1
trunk/ 10-ptud-v1/admin/includes/ckeditor/plugins/placeholder/lang/bg.js
JavaScript
gpl3
476