code
string
repo_name
string
path
string
language
string
license
string
size
int64
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, ...
zyphpweb
trunk/zy_application/config/config.php
PHP
oos
13,428
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | AUTO-LOADER | ------------------------------------------------------------------- | This file specifies which systems should be loaded by default. | | In order to keep t...
zyphpweb
trunk/zy_application/config/autoload.php
PHP
oos
3,132
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | MIME TYPES | ------------------------------------------------------------------- | This file contains an array of mime types. It is used by the | Upload class to help i...
zyphpweb
trunk/zy_application/config/mimes.php
PHP
oos
4,453
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | Foreign Characters | ------------------------------------------------------------------- | This file contains an array of foreign characters for transliteration | conver...
zyphpweb
trunk/zy_application/config/foreign_chars.php
PHP
oos
1,781
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Enable/Disable Migrations |-------------------------------------------------------------------------- | | Migrations are disabled by default but should be enabled ...
zyphpweb
trunk/zy_application/config/migration.php
PHP
oos
1,322
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | USER AGENT TYPES | ------------------------------------------------------------------- | This file contains four arrays of user agent data. It is used by the | User Age...
zyphpweb
trunk/zy_application/config/user_agents.php
PHP
oos
5,589
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | Hooks | ------------------------------------------------------------------------- | This file lets you define "hooks" to extend CI without hacking the core | files...
zyphpweb
trunk/zy_application/config/hooks.php
PHP
oos
498
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | Profiler Sections | ------------------------------------------------------------------------- | This file lets you determine whether or not various sections of Pro...
zyphpweb
trunk/zy_application/config/profiler.php
PHP
oos
564
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $_doctypes = array( 'xhtml11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">', 'xhtml1-strict' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/...
zyphpweb
trunk/zy_application/config/doctypes.php
PHP
oos
1,138
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | SMILEYS | ------------------------------------------------------------------- | This file contains an array of smileys for use with the emoticon helper. | Individual ima...
zyphpweb
trunk/zy_application/config/smileys.php
PHP
oos
3,295
<html> <head> <title>403 Forbidden</title> </head> <body> <p>Directory access is forbidden.</p> </body> </html>
zyphpweb
trunk/zy_application/views/index.html
HTML
oos
114
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Welcome to CodeIgniter</title> <style type="text/css"> ::selection{ background-color: #E13300; color: white; } ::moz-selection{ background-color: #E13300; color: white; } ::webkit-selection{ background-color: #E13300; color: white; } body {...
zyphpweb
trunk/zy_application/views/welcome_message.php
Hack
oos
1,933
<form method="POST" action="<?php echo $current_url;?>" id="listForm" accept-charset="utf-8" onsubmit="return ReturnSubmitValue();"> <table id="zyListTable" cellspacing="0" cellpadding="0" width="90%" align="center" border="0"> <tr> <th colspan="4" class="titleTh"><?php echo $title;?></th> </tr> <tr> <th ...
zyphpweb
trunk/zy_application/views/admin/news_type_list.php
PHP
oos
3,351
<form method="POST" action="<?php echo $current_url;?>" id="listForm" accept-charset="utf-8" enctype="multipart/form-data" onsubmit="return ReturnSubmitValue();"> <table id="zyListTable" cellspacing="0" cellpadding="0" width="90%" align="center" border="0"> <tr> <th colspan="5" class="titleTh"><?php echo $title;...
zyphpweb
trunk/zy_application/views/admin/site_config_user.php
PHP
oos
1,965
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN"> <html> <head> <title><?php echo $title;?></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Cache-Control" content="no-cache"> <meta http-equiv="Expires" content="-...
zyphpweb
trunk/zy_application/views/admin/index.php
PHP
oos
1,030
<form method="POST" action="<?php echo $current_url;?>" id="listForm" accept-charset="utf-8" onsubmit="return ReturnSubmitValue();"> <table id="zyListTable" cellspacing="0" cellpadding="0" width="90%" align="center" border="0"> <tr> <th class="titleTh"><?php echo $title;?> <input type="checkbox" id="allListCheck...
zyphpweb
trunk/zy_application/views/admin/site_config_role_edit.php
PHP
oos
1,270
<form method="POST" action="<?php echo $current_url;?>" id="detailForm" accept-charset="utf-8" enctype="multipart/form-data"> <table id="zyDetailTable" cellspacing="0" cellpadding="0" width="90%" align="center" border="0"> <tr> <th colspan="3"><?php echo $title;?></th> </tr> <tr> <td colspan="3">选择语言: ...
zyphpweb
trunk/zy_application/views/admin/site_config.php
PHP
oos
2,263
<form method="POST" action="<?php echo $current_url;?>" id="searchForm" accept-charset="utf-8" > <table id="zySearchTable" cellspacing="0" cellpadding="0" width="90%" align="center" border="0"> <tr><th id="searcTh">搜索栏</th></tr> <tr><td>关键字:<input name="key" /></td></tr> <tr><td id="searchSub"><input type="subm...
zyphpweb
trunk/zy_application/views/admin/site_config_role_page.php
PHP
oos
3,922
<table height="100%" cellspacing="0" cellpadding="0" width="100%" class="login_table" border="0"> <tr> <td align="middle"> <table cellspacing="0" cellpadding="0" width="468" border="0"> <tr> <td> <img height="23" src="<?php echo base_url()?>resource/images/admin/login_1.jpg" width="468"> </td> ...
zyphpweb
trunk/zy_application/views/admin/login.php
PHP
oos
2,776
<table height="100%" cellspacing="0" cellpadding="0" width="170" background="<?php echo base_url()?>resource/images/admin/menu_bg.jpg" border="0"> <tr> <td valign="top" align="middle"> <table cellspacing="0" cellpadding="0" width="100%" border="0"> <tr> <td height="10"></td> </tr> </tabl...
zyphpweb
trunk/zy_application/views/admin/common/menu.php
PHP
oos
3,608
<table id="zyDetailTable" cellspacing="0" cellpadding="0" width="90%" align="center" border="0" style="margin-top:10px;"> <tr> <th colspan="3"><?php echo $title;?></th> </tr> <tr> <td colspan="3" align="center" style="font-size:14px;"> <?php if($type==1){?> <p style="color:green;">√&nbsp;<?php echo...
zyphpweb
trunk/zy_application/views/admin/common/message.php
PHP
oos
802
<table cellspacing="0" cellpadding="0" width="100%" background="<?php echo base_url()?>resource/images/admin/header_bg.jpg" border="0"> <tr height="56"> <td width="260"> <img height="56" src="<?php echo base_url()?>resource/images/admin/header_left.jpg" width="260"> </td> <td style="FONT-WEIGHT: bold; COLOR: ...
zyphpweb
trunk/zy_application/views/admin/common/top.php
PHP
oos
993
<table cellspacing="0" cellpadding="0" width="90%" align="center" border="0"> <tr height="100"> <td align="middle" width="100"> <img height="100" src="<?php echo base_url()?>resource/images/admin/admin_p.gif" width="90"> </td> <td width="60"> &nbsp; </td> <td> <table height="100" cellspacing="0" c...
zyphpweb
trunk/zy_application/views/admin/common/main.php
PHP
oos
1,536
</body> </html>
zyphpweb
trunk/zy_application/views/admin/common/footer.php
Hack
oos
16
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN"> <html> <head> <title><?php echo $title;?></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Cache-Control" content="no-cache"> <meta http-equiv="Expires" content="-...
zyphpweb
trunk/zy_application/views/admin/common/header.php
PHP
oos
639
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> <tr height="28"> <td background="<?php echo base_url()?>resource/images/admin/title_bg1.jpg"> 当前位置: <?php foreach($link_title as $k=>$v){?> <a href="<?php echo $v;?>"><?php echo $k;?></a> >> <?php }?> <?php echo $titl...
zyphpweb
trunk/zy_application/views/admin/common/nav.php
PHP
oos
526
<form method="POST" action="<?php echo $current_url;?>" id="searchForm" accept-charset="utf-8"> <table id="zySearchTable" cellspacing="0" cellpadding="0" width="90%" align="center" border="0"> <tr><th id="searcTh">搜索栏</th></tr> <tr><td>关键字:<input name="key" /></td></tr> <tr><td id="searchSub"><input type="submi...
zyphpweb
trunk/zy_application/views/admin/site_config_role.php
PHP
oos
3,658
<form method="POST" action="<?php echo site_url("c=siteconfig&m=user&d=admin");?>" id="detailForm" accept-charset="utf-8" enctype="multipart/form-data"> <table id="zyDetailTable" cellspacing="0" cellpadding="0" width="90%" align="center" border="0"> <tr> <th colspan="3"><?php echo $title;?></th> </tr> <tr> ...
zyphpweb
trunk/zy_application/views/admin/site_config_user_edit.php
PHP
oos
1,751
<form method="POST" action="<?php echo $current_url;?>" id="searchForm" accept-charset="utf-8" > <table id="zySearchTable" cellspacing="0" cellpadding="0" width="90%" align="center" border="0"> <tr><th id="searcTh">搜索栏</th></tr> <tr><td>关键字:<input name="key" /></td></tr> <tr><td id="searchSub"><input type="subm...
zyphpweb
trunk/zy_application/views/admin/news_list.php
PHP
oos
2,699
<html> <head> <title>403 Forbidden</title> </head> <body> <p>Directory access is forbidden.</p> </body> </html>
zyphpweb
trunk/zy_application/errors/index.html
HTML
oos
114
<!DOCTYPE html> <html lang="en"> <head> <title>Error</title> <style type="text/css"> ::selection{ background-color: #E13300; color: white; } ::moz-selection{ background-color: #E13300; color: white; } ::webkit-selection{ background-color: #E13300; color: white; } body { background-color: #fff; margin: 40px; font: ...
zyphpweb
trunk/zy_application/errors/error_general.php
PHP
oos
1,147
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;"> <h4>A PHP Error was encountered</h4> <p>Severity: <?php echo $severity; ?></p> <p>Message: <?php echo $message; ?></p> <p>Filename: <?php echo $filepath; ?></p> <p>Line Number: <?php echo $line; ?></p> </div>
zyphpweb
trunk/zy_application/errors/error_php.php
PHP
oos
288
<!DOCTYPE html> <html lang="en"> <head> <title>Database Error</title> <style type="text/css"> ::selection{ background-color: #E13300; color: white; } ::moz-selection{ background-color: #E13300; color: white; } ::webkit-selection{ background-color: #E13300; color: white; } body { background-color: #fff; margin: 40px...
zyphpweb
trunk/zy_application/errors/error_db.php
PHP
oos
1,156
<!DOCTYPE html> <html lang="en"> <head> <title>404 Page Not Found</title> <style type="text/css"> ::selection{ background-color: #E13300; color: white; } ::moz-selection{ background-color: #E13300; color: white; } ::webkit-selection{ background-color: #E13300; color: white; } body { background-color: #fff; margin: ...
zyphpweb
trunk/zy_application/errors/error_404.php
PHP
oos
1,160
<html> <head> <title>403 Forbidden</title> </head> <body> <p>Directory access is forbidden.</p> </body> </html>
zyphpweb
trunk/zy_application/index.html
HTML
oos
114
<html> <head> <title>403 Forbidden</title> </head> <body> <p>Directory access is forbidden.</p> </body> </html>
zyphpweb
trunk/zy_application/language/english/index.html
HTML
oos
114
<html> <head> <title>403 Forbidden</title> </head> <body> <p>Directory access is forbidden.</p> </body> </html>
zyphpweb
trunk/zy_application/helpers/index.html
HTML
oos
114
<html> <head> <title>403 Forbidden</title> </head> <body> <p>Directory access is forbidden.</p> </body> </html>
zyphpweb
trunk/zy_application/hooks/index.html
HTML
oos
114
<?php /** * 后台管理权限页面Model * @author zhang.yue */ class Role_page extends ZY_Model { var $table_name = "admin_page"; function __construct() { parent::__construct (); $this->setTable ( $this->table_name ); } } ?>
zyphpweb
trunk/zy_application/models/role_page.php
PHP
oos
255
<html> <head> <title>403 Forbidden</title> </head> <body> <p>Directory access is forbidden.</p> </body> </html>
zyphpweb
trunk/zy_application/models/index.html
HTML
oos
114
<?php /** * 新闻Model * @author zhang.yue */ class Newsm extends ZY_Model { var $table_name = "pre_news"; function __construct() { parent::__construct (); $this->setTable ( $this->table_name ); } } ?>
zyphpweb
trunk/zy_application/models/newsm.php
PHP
oos
228
<?php /** * 新闻类型Model * @author zhang.yue */ class News_type extends ZY_Model { var $table_name = "pre_news_type"; function __construct() { parent::__construct (); $this->setTable ( $this->table_name ); } //返回类型数组 function _get_type($upid = 0, $g = "") { $uplist = $this->getList ( NULL, "`...
zyphpweb
trunk/zy_application/models/news_type.php
PHP
oos
1,100
<?php /** * 用户Model * @author zhang.yue */ class User extends ZY_Model { var $table_name = "admin_user"; function __construct() { parent::__construct (); $this->setTable ( $this->table_name ); } } ?>
zyphpweb
trunk/zy_application/models/user.php
PHP
oos
232
<?php /** * 用户角色Model * @author zhang.yue */ class Role extends ZY_Model { var $table_name = "admin_role"; function __construct() { parent::__construct (); $this->setTable ( $this->table_name ); } } ?>
zyphpweb
trunk/zy_application/models/role.php
PHP
oos
235
<html> <head> <title>403 Forbidden</title> </head> <body> <p>Directory access is forbidden.</p> </body> </html>
zyphpweb
trunk/zy_application/logs/index.html
HTML
oos
114
<html> <head> <title>403 Forbidden</title> </head> <body> <p>Directory access is forbidden.</p> </body> </html>
zyphpweb
trunk/zy_application/libraries/index.html
HTML
oos
114
<?php /** * 扩展Model * Model公用方法父类 * @author zhang.yue * */ class ZY_Model extends CI_Model { var $table_name = ""; function __construct() { parent::__construct (); } function setTable($tablename) { $this->table_name = $tablename; } /** * 查询列表 * * @param $fields unknown_type ...
zyphpweb
trunk/zy_application/core/ZY_Model.php
PHP
oos
6,388
<html> <head> <title>403 Forbidden</title> </head> <body> <p>Directory access is forbidden.</p> </body> </html>
zyphpweb
trunk/zy_application/core/index.html
HTML
oos
114
<?php /** * 扩展前台页面Controller * 控制器公用方法父类 * @author zhang.yue * */ class ZY_AdminController extends CI_Controller{ var $site_config; //网站配置信息 var $lang = 'cn'; //语言信息 /** * 构造函数 */ function __construct() { parent::__construct (); //获取语言值 if($this->input->get('lang')){ $th...
zyphpweb
trunk/zy_application/core/ZY_Controller.php
PHP
oos
743
<?php /** * 扩展后台页面Controller * 判断登录状态及公用方法 * @author zhang.yue * */ class ZY_AdminController extends CI_Controller{ var $current_url = ""; var $current_url_all = ""; var $login_user = ""; /** * 构造函数 * 1.判断登录状态 */ function __construct() { parent::__construct (); $this->current_url_al...
zyphpweb
trunk/zy_application/core/ZY_AdminController.php
PHP
oos
2,277
<html> <head> <title>403 Forbidden</title> </head> <body> <p>Directory access is forbidden.</p> </body> </html>
zyphpweb
trunk/zy_application/controllers/index.html
HTML
oos
114
<?php class Pages extends CI_Controller{ public function view($page="home"){ echo $page;exit; } } ?>
zyphpweb
trunk/zy_application/controllers/pages.php
PHP
oos
111
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Welcome extends CI_Controller { /** * Index Page for this controller. * * Maps to the following URL * http://example.com/index.php/welcome * - or - * http://example.com/index.php/welcome/index * - or - * Since this...
zyphpweb
trunk/zy_application/controllers/welcome.php
PHP
oos
770
<?php /** * 网站管理页面 * @author zhang.yue */ class SiteConfig extends ZY_AdminController { var $data = array(); function __construct() { parent::__construct (); $this->data['current_url'] = $this->current_url; } /** * 网站管理页面 */ public function index() { $lang = $this->input->get('lang'...
zyphpweb
trunk/zy_application/controllers/admin/siteconfig.php
PHP
oos
11,697
<?php /** * 主框架页面 * @author zhang.yue */ class News extends ZY_AdminController { var $data = array(); function __construct() { parent::__construct (); $this->data['current_url'] = $this->current_url; } /** * 新闻列表页 */ public function index() { $this->data['title'] = "新闻列表"; $this->loa...
zyphpweb
trunk/zy_application/controllers/admin/news.php
PHP
oos
3,518
<?php /** * 主框架页面 * @author zhang.yue */ class Main extends ZY_AdminController { function __construct() { parent::__construct (); } /** * 主框架页面 */ public function index() { $data = array('title'=>"网站管理中心"); $this->load->view('admin/index',$data); } public function top(){ $data =...
zyphpweb
trunk/zy_application/controllers/admin/main.php
PHP
oos
2,050
<?php /** * 登录页面 * @author zhang.yue */ class Login extends CI_Controller { function __construct() { parent::__construct (); } /** * 登录页面 */ public function index() { $data['title'] = "网站后台登录"; $this->load->library('session'); $action = $this->input->post("action"); if($acti...
zyphpweb
trunk/zy_application/controllers/admin/login.php
PHP
oos
2,692
package cn.nju.zyy.xml.many2many; // Generated 2012-3-18 15:53:26 by Hibernate Tools 3.2.2.GA /** * This class contains course details. */ public class Course implements java.io.Serializable { private long courseId; private String courseName; public Course() { } public Course(String courseNam...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/xml/many2many/Course.java
Java
asf20
662
package cn.nju.zyy.xml.many2many; import java.util.HashSet; import java.util.Set; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.Transaction; import cn.nju.zyy.xml.util.HibernateUtil; public class Main { /** * @param args */ public static void main...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/xml/many2many/Main.java
Java
asf20
986
package cn.nju.zyy.xml.many2many; // Generated 2012-3-18 15:53:26 by Hibernate Tools 3.2.2.GA import java.util.HashSet; import java.util.Set; /** * This class contains student details. */ public class Student implements java.io.Serializable { private long studentId; private String studentName; pr...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/xml/many2many/Student.java
Java
asf20
1,066
package cn.nju.zyy.xml.one2many; // Generated 2012-3-18 15:30:50 by Hibernate Tools 3.2.2.GA /** * This class contains student's phone number details. */ public class Phone implements java.io.Serializable { private long phoneId; private String phoneType; private String phoneNumber; public Phone()...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/xml/one2many/Phone.java
Java
asf20
903
package cn.nju.zyy.xml.one2many; import java.util.HashSet; import java.util.Set; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.Transaction; import cn.nju.zyy.xml.util.HibernateUtil; public class Main { /** * @param args */ public static void main(...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/xml/one2many/Main.java
Java
asf20
930
package cn.nju.zyy.xml.one2many; // Generated 2012-3-18 15:30:50 by Hibernate Tools 3.2.2.GA import java.util.HashSet; import java.util.Set; /** * This class contains student details. */ public class Student implements java.io.Serializable { private long studentId; private String studentName; pri...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/xml/one2many/Student.java
Java
asf20
1,180
package cn.nju.zyy.xml.one2one; // Generated 2012-3-18 15:00:48 by Hibernate Tools 3.2.2.GA /** * This class contains the student's address details. */ public class Address implements java.io.Serializable { private long addressId; private String street; private String city; private String state; ...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/xml/one2one/Address.java
Java
asf20
1,213
package cn.nju.zyy.xml.one2one; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.Transaction; import cn.nju.zyy.xml.util.HibernateUtil; public class Main { public static void main(String[] args) { Session session = HibernateUtil.getSessionFactory().openSessio...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/xml/one2one/Main.java
Java
asf20
906
package cn.nju.zyy.xml.one2one; // Generated 2012-3-18 15:00:48 by Hibernate Tools 3.2.2.GA /** * This class contains student details. */ public class Student implements java.io.Serializable { private long studentId; private String studentName; private Address studentAddress; public Student() { ...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/xml/one2one/Student.java
Java
asf20
961
package cn.nju.zyy.xml.course; // Generated Jul 6, 2012 3:31:14 PM by Hibernate Tools 3.2.2.GA /** * This class contains the course details. */ public class Course implements java.io.Serializable { private static final long serialVersionUID = 1L; private long courseId; private String courseName; ...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/xml/course/Course.java
Java
asf20
721
package cn.nju.zyy.xml.course; import java.util.Iterator; import java.util.List; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.Transaction; import cn.nju.zyy.xml.util.HibernateUtil; public class Main { public static void main(String[] args) { Main obj...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/xml/course/Main.java
Java
asf20
2,709
package cn.nju.zyy.xml.util; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; public class HibernateUtil { private static final SessionFactory sessionFactory; static { try { sessionFactory = new Configuration().configure().buildSessionFactory(); } catch (Throwable e) ...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/xml/util/HibernateUtil.java
Java
asf20
540
package cn.nju.zyy.xml.many2one; // Generated 2012-3-18 14:37:26 by Hibernate Tools 3.2.2.GA /** * This class contains the student's address details. */ public class Address implements java.io.Serializable { private long addressId; private String street; private String city; private String state; ...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/xml/many2one/Address.java
Java
asf20
1,214
package cn.nju.zyy.xml.many2one; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.Transaction; import cn.nju.zyy.xml.util.HibernateUtil; public class Main { /** * @param args */ public static void main(String[] args) { Session session = HibernateUtil....
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/xml/many2one/Main.java
Java
asf20
1,043
package cn.nju.zyy.xml.many2one; // Generated 2012-3-18 14:37:26 by Hibernate Tools 3.2.2.GA /** * This class contains student details. */ public class Student implements java.io.Serializable { private long studentId; private String studentName; private Address studentAddress; public Student() { ...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/xml/many2one/Student.java
Java
asf20
962
package cn.nju.zyy; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.Transaction; import cn.nju.zyy.annotation.util.HibernateUtil; public class Clear { /** * @param args */ public static void main(String[] args) { Session session = HibernateUtil.getSe...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/Clear.java
Java
asf20
1,206
package cn.nju.zyy.annotation.many2many; import java.util.HashSet; import java.util.Set; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.Transaction; import cn.nju.zyy.annotation.util.HibernateUtil; public class Main { /** * @param args */ public st...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/annotation/many2many/Main.java
Java
asf20
995
package cn.nju.zyy.annotation.many2many; import java.util.HashSet; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.JoinColumn; import ...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/annotation/many2many/Student.java
Java
asf20
1,587
package cn.nju.zyy.annotation.one2many; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "PHONE") public class Phone { private long phoneId; private String phone...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/annotation/one2many/Phone.java
Java
asf20
1,121
package cn.nju.zyy.annotation.one2many; import java.util.HashSet; import java.util.Set; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.Transaction; import cn.nju.zyy.annotation.util.HibernateUtil; public class Main { /** * @param args */ public sta...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/annotation/one2many/Main.java
Java
asf20
944
package cn.nju.zyy.annotation.one2many; import java.util.HashSet; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.JoinColumn; import j...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/annotation/one2many/Student.java
Java
asf20
1,617
package cn.nju.zyy.annotation.one2one; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "ADDRESS") public class Address { private long addressId; private String...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/annotation/one2one/Address.java
Java
asf20
1,563
package cn.nju.zyy.annotation.one2one; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.Transaction; import cn.nju.zyy.annotation.util.HibernateUtil; public class Main { /** * @param args */ public static void main(String[] args) { Session session = H...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/annotation/one2one/Main.java
Java
asf20
951
package cn.nju.zyy.annotation.one2one; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.OneToOne; import javax.persistence.Table; @Entity @Table(name = "STUD...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/annotation/one2one/Student.java
Java
asf20
1,258
package cn.nju.zyy.annotation.course; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; // Generated 2012-3-17 22:52:50 by Hibernate Tools 3.2.2.GA /** * This class contains the course...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/annotation/course/Course.java
Java
asf20
955
package cn.nju.zyy.annotation.course; import java.util.Iterator; import java.util.List; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.Transaction; import cn.nju.zyy.annotation.util.HibernateUtil; public class Main { /** * @param args */ public sta...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/annotation/course/Main.java
Java
asf20
2,738
package cn.nju.zyy.annotation.util; import org.hibernate.SessionFactory; import org.hibernate.cfg.AnnotationConfiguration; public class HibernateUtil { private static final SessionFactory sessionFactory; static { try { sessionFactory = new AnnotationConfiguration().configure().buildSessionFactory();...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/annotation/util/HibernateUtil.java
Java
asf20
563
package cn.nju.zyy.annotation.many2one; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "ADDRESS") public class Address { private long addressId; private String...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/annotation/many2one/Address.java
Java
asf20
1,570
package cn.nju.zyy.annotation.many2one; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.Transaction; import cn.nju.zyy.annotation.util.HibernateUtil; public class Main { /** * @param args */ public static void main(String[] args) { Session session = ...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/annotation/many2one/Main.java
Java
asf20
1,030
package cn.nju.zyy.annotation.many2one; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.ManyToOne; import javax.persistence.Table; @Entity @Table(name = "ST...
zyy-hibernate-dzone-demo
trunk/src/cn/nju/zyy/annotation/many2one/Student.java
Java
asf20
1,260
EAPI=5 PYTHON_REQ_USE="gdbm,sqlite" PYTHON_COMPAT=( python{2_6,2_7} ) inherit python-r1 user DESCRIPTION="Apache Bloodhound is an open source web-based project management and bug tracking system." HOMEPAGE="http://bloodhound.apache.org/" LICENSE="" SRC_URI="http://mirror.catn.com/pub/apache/bloodhound/apache-bloodho...
zxteam-gentoo-repository
repository/dev-util/apache-bloodhound/apache-bloodhound-0.8.ebuild
Gentoo Ebuild
gpl3
1,453
#!/sbin/runscript #//************************************// #//** Developed by ZX Team **// #//** Web: http://www.zxteam.net **// #//** E-Mail: dev@zxteam.net **// #//************************************// #//** Developer Maxim Anurin **// #//** Web: http://www.anurin.name **// #//** E-...
zxteam-gentoo-repository
repository/dev-util/apache-bloodhound/files/init.sh
Shell
gpl3
1,836
EAPI=2 DESCRIPTION="" HOMEPAGE="http://projects.zxteam.net/unix-tools/zxbackup/" LICENSE="GPL2" SRC_URI="" RESTRICT="mirror" SLOT="0" KEYWORDS="~x86 ~amd64 ~arm" IUSE="" DEPEND="sys-fs/lvm2" RDEPEND="${DEPEND}" src_install() { newinitd "${FILESDIR}/${PV}/snap.init" zxbackup-snap newconfd "${FILESDIR}/${PV}/s...
zxteam-gentoo-repository
repository/sys-apps/zxbackup/zxbackup-0.1.0.ebuild
Gentoo Ebuild
gpl3
402
EAPI=2 DESCRIPTION="" HOMEPAGE="http://project.zxteam.net/unix-tools/zxbackup/" LICENSE="GPL2" SRC_URI="" RESTRICT="mirror" SLOT="0" KEYWORDS="~x86 ~amd64 ~arm" IUSE="" DEPEND="sys-fs/lvm2" RDEPEND="${DEPEND}" src_install() { newinitd "${FILESDIR}/${PV}/snap.init" zxbackup-snap newconfd "${FILESDIR}/${PV}/sn...
zxteam-gentoo-repository
repository/sys-apps/zxbackup/zxbackup-0.2.0.ebuild
Gentoo Ebuild
gpl3
687
#!/bin/bash SCRIPT_NAME=$(basename $(readlink -f $0)) SCRIPT_DIR=$(dirname $(readlink -f $0)) function cleanup() { echo "Cleanup..." [ -n "$PID" ] && kill $PID 2> /dev/null echo "Kill all children of PID: $$" pkill -TERM -P $$ exit 1 } trap cleanup EXIT function usage { echo "This script moves snapshot f...
zxteam-gentoo-repository
repository/sys-apps/zxbackup/files/0.1.0/move.sbin
Shell
gpl3
2,283
#!/bin/bash SCRIPT_NAME=$(basename $(readlink -f $0)) SCRIPT_DIR=$(dirname $(readlink -f $0)) function cleanup() { echo "Cleanup..." [ -n "$PID" ] && kill $PID 2> /dev/null echo "Kill all children of PID: $$" pkill -TERM -P $$ exit 1 } trap cleanup EXIT function usage { echo "This script moves snapshot f...
zxteam-gentoo-repository
repository/sys-apps/zxbackup/files/0.1.0/.svn/text-base/move.sbin.svn-base
Shell
gpl3
2,283
#!/bin/bash # /* zxbackup-create-local-snapshot */ # /* zxbackup-manager-create-remote-snapshot */ # /* zxbackup-manager-download-remote-snapshots */ # /* zxbackup-manager-update-delta */ # /* */ # /* */ # /* */ # /* */ # /* */ # /* */ SCRIPT_NAME=$(basename $(readlink -f $0)) SCRIPT_ACTION=$(basename $0) SCRIPT_DIR=...
zxteam-gentoo-repository
repository/sys-apps/zxbackup/files/0.2.0/zxbackup
Shell
gpl3
26,323
#!/bin/bash # /* zxbackup-create-local-snapshot */ # /* zxbackup-manager-create-remote-snapshot */ # /* zxbackup-manager-download-remote-snapshots */ # /* zxbackup-manager-update-delta */ # /* */ # /* */ # /* */ # /* */ # /* */ # /* */ SCRIPT_NAME=$(basename $(readlink -f $0)) SCRIPT_ACTION=$(basename $0) SCRIPT_DIR=...
zxteam-gentoo-repository
repository/sys-apps/zxbackup/files/0.2.0/.svn/text-base/zxbackup.svn-base
Shell
gpl3
26,323
EAPI=2 DESCRIPTION="imagemount: This tool mount disk images as loop device, initialize logical volumes and mount" HOMEPAGE="http://projects.zxteam.net/unix-tools/imagemount/" LICENSE="GPL2" SRC_URI="" RESTRICT="mirror" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND="sys-fs/lvm2" RDEPEND="${DEPEND}" src_install() { ...
zxteam-gentoo-repository
repository/sys-apps/imagemount/imagemount-0.3.0.ebuild
Gentoo Ebuild
gpl3
490
EAPI=2 DESCRIPTION="imagemount: This tool mount disk images as loop device, initialize logical volumes and mount" HOMEPAGE="http://projects.zxteam.net/unix-tools/imagemount/" LICENSE="GPL2" SRC_URI="" RESTRICT="mirror" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND="sys-auth/pam_mount sys-fs/cryptsetup sys-fs/lvm2" R...
zxteam-gentoo-repository
repository/sys-apps/imagemount/imagemount-0.3.1.ebuild
Gentoo Ebuild
gpl3
570
#!/sbin/runscript # Copyright (c) 2014 Max Anurin <theanurin@gmail.com> # INSTANCE=${SVCNAME#*.} if [ -n "${INSTANCE}" ] && [ ${INSTANCE} != "imagemount" ]; then RUNDIR=/var/run/imagemount.$INSTANCE else RUNDIR=/var/run/imagemount fi USEDLOOPFILE=${RUNDIR}/loop USEDVGFILE=${RUNDIR}/vg USEDMOUNTFILE=${RUNDIR}/mount...
zxteam-gentoo-repository
repository/sys-apps/imagemount/files/0.3.0/init.sh
Shell
gpl3
6,290
#!/sbin/runscript # Copyright (c) 2014 Max Anurin <theanurin@gmail.com> # INSTANCE=${SVCNAME#*.} if [ -n "${INSTANCE}" ] && [ ${INSTANCE} != "imagemount" ]; then RUNDIR=/var/run/imagemount.$INSTANCE else RUNDIR=/var/run/imagemount fi USEDLOOPFILE=${RUNDIR}/loop USEDVGFILE=${RUNDIR}/vg USEDMOUNTFILE=${RUNDIR}/mount...
zxteam-gentoo-repository
repository/sys-apps/imagemount/files/0.3.1/init.sh
Shell
gpl3
6,378
DESCRIPTION="" HOMEPAGE="http://www.zxteam.net/" LICENSE="GPL2" SRC_URI="" RESTRICT="mirror" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND="" RDEPEND="${DEPEND}" src_install() { newinitd "${FILESDIR}/init.sh" virtualbox newconfd "${FILESDIR}/conf" virtualbox.example }
zxteam-gentoo-repository
repository/app-emulation/virtualbox-utils/virtualbox-utils-0.1.1.ebuild
Gentoo Ebuild
gpl3
281