www.gusucode.com > ShopEx481 & PHPWind 整合版码程序 > core/lib/uc_client/model/app.php
<?php /* [UCenter] (C)2001-2008 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: domain.php 12126 2008-01-11 09:40:32Z heyond $ */ !defined('IN_UC') && exit('Access Denied'); class appmodel { var $db; var $base; function appmodel(&$base) { $this->base = $base; $this->db = $base->db; } function get_apps($col = '*', $where = '') { $arr = $this->db->fetch_all("SELECT $col FROM ".UC_DBTABLEPRE."applications".($where ? ' WHERE '.$where : '')); return $arr; } } ?>