Change Log of Joomsport:[VIEW]晉級圖: 增加ranking_alias字段到team,重新使用match的match_descr字段(synchronized)
来源:互联网 发布:网络运营工程师 编辑:程序博客网 时间:2024/05/16 05:28
這個變量是用來記錄每一個球隊在聯賽盃出線后,進入到以下階段的賽事時將會被提示的成績排名,比如:甲組第一名。
數據庫的修改:
增加成員變量'$ranking_alias'到'JTableTeams'類:
/administrator/components/com_joomsport/admin.joomsport.class.php
class JTableTeams extends JTable{var $id= null;var $t_name = null;// added by Vincent 9th Dec 2011var $ranking_alias= null;// endvar $t_descr= null;var $t_yteam= null;var $def_img= null;var $t_emblem= null;var $t_city= null;function __construct( &$db ){parent::__construct( '#__bl_teams', 'id', $db );}}
/administrator/components/com_joomsport/admin.joomsport.html.php
function definition ‘bl_editTeam’
<!-- ranking alias name added by Vincent 9th Dec 2011 --><tr><td width="100"><?php echo JText::_( 'BLBE_RANKALIASNAME' ); ?></td><td><input type="text" maxlength="20" size="20" name="ranking_alias" id="raliasname" value="<?php echo htmlspecialchars($row->ranking_alias)?>" /></td></tr>
這個字段現在被用來存儲淘汰盃比賽的分組名,此分組名無任何排名意義,只是一個編號,比如A組-W組、AA組。
make use of previously obsoleted 'match_descr'
/administrator/components/com_joomsport/admin.joomsport.html.php
function definition 'bl_editMatch'
<!-- match description by Vincent 9th-Dec-2011 --><tr><td><?php echo JText::_('BLBE_DESCRIPTION');?></td><td><input type="text" maxlength="255" size="20" name="match_descr" value="<?php echo htmlspecialchars($row->match_descr);?>" /></td></tr>
除此以外,還有要註釋掉‘BL_MatchSave’中的 :
$post['match_descr'] = '';
取回bonus介面,重新使用這個字段來存取12碼成績:
<!-- added back by Vincent 8th-Dec-2011 --><tr><td width="100"><?php echo JText::_( 'Bonus Points' ); ?><span class="editlinktip hasTip" title="<?php echo JText::_( 'Bonus Points' ); ?>::<?php echo JText::_( '' );?>"><img src="components/com_joomsport/img/quest.jpg" border="0" /></span></td><td><?php echo $lists['teams1'].' <input type="text" name="bonus1" value="'.floatval($row->bonus1).'" size="5" maxlength="5" /> : <input type="text" name="bonus2" value="'.floatval($row->bonus2).'" size="5" maxlength="5" /> '.$lists['teams2'];?></td></tr><!-- end -->
- Change Log of Joomsport:[VIEW]晉級圖: 增加ranking_alias字段到team,重新使用match的match_descr字段(synchronized)
- Change Log of Joomsport: [VIEW]晉級圖-淘汰盃:增加字段number_label1,number_label2到match表(synchronized with ser)
- Change Log of Joomsport: [VIEW]晉級圖-主席盃、碟及盾:给match表增加三个字段:grp_id,ordering,level(synchronized with ser
- Change Log of Joomsport: [VIEW]晉級圖-淘汰盃 增加comment1, comment2到match表(synchronized with server)
- Change Log of Joomsport: 改變[VIEW]賽事編排的mon參數(Synchronized with server)
- Change Log of Joomsport: Error in Joomsport (Synchronized with Server)
- Change Log of Joomsport: Add One Field 'm_remark' to match
- Change Log of Joomsport: Remove Undesired HTML(Synchronized with Server)
- Change Log of Joomsport: Create view 'arrangement' with parameter 'month'
- Change Log for Bug-Fixing of Joomsport
- Change Log of Joomsport: Overwrite the CSS
- Change Log of Joomsport: Add more fields to season (Synchronized with Server)
- Change Log of Joomsport: 增加赛事晋级图第二至第四阶段布局
- Change Log for Joomsport: [VIEW] 成績龍虎榜(Ranking List) SQL Programming
- Change Log for Joomsport: [VIEW] - Shooter Ranking (金靴射手榜)
- Change Log for Pruning Undesired Code of Joomsport
- Change Log of Joomsport: Adding 't_type' field for Tournament
- Change Log of Joomsport: Add two fields to season table
- 通用弱点评价体系(CVSS)简介
- 在CSDN开博客,记录深圳一个普通IT男
- 拿出行动,你会做到更多
- tomcat服务器与HTTP协议
- 【JTharness4_4_0】【1.修改源码前得准备工作】
- Change Log of Joomsport:[VIEW]晉級圖: 增加ranking_alias字段到team,重新使用match的match_descr字段(synchronized)
- 停止服务时报异常!ERROR/ActivityThread(358): Service com.wd.AndroidDaemon.WandouService has leaked IntentRece
- [黑马程序员]面向过程基础知识一(常量,枚举,结构,ref和out)
- App模块化及工程扩展____http://www.cnblogs.com/qianxudetianxia/archive/2011/05/01/2030232.html
- 【object-c基础】object-c基础之二:property,assign,copy,retain,release
- 写了一个整人程序,较简单,有兴趣者可以看看
- JAVA中的转义字符
- JSValidation 不起作用咋搞?
- Linux管道