出處 http://phpbb-tw.net/phpbb/viewtopic.php?p=192000#192000
如何修改bank_v3裡面的按鈕顏色...
我的看起來幾乎是白色的 很難辨認...
或是讓字清楚...
請大大解答唷 謝謝...
[問題] bank_v3按鈕顏色...
版主: 版主管理群
主要是在bank_bady.tpl內修改的
原文的這段:
我修改的這段: (只供參考)
原文的這段:
代碼: 選擇全部
<input type="button" value="存款" onclick="document.bank_form.act.value='deposit';document.bank_form.submit()">
|
<input type="button" value="提款" onclick="document.bank_form.act.value='withdraw';document.bank_form.submit()">
<BR>------[金融業務]------<BR>
<input type="button" value="轉帳" onclick="document.bank_form.act.value='paymove';document.bank_form.submit()">
<BR>------[貸款服務]------<BR>
<input type="button" value="貸款" onclick="document.bank_form.act.value='loan';document.bank_form.submit()">
|
<input type="button" value="還貸" onclick="document.bank_form.act.value='repays';document.bank_form.submit()">
|
代碼: 選擇全部
<input type="button" name='quoteselected' class='liteoption' value="存款" onclick="document.bank_form.act.value='deposit';document.bank_form.submit()">
|
<input type="button" name='quoteselected' class='liteoption' value="提款" onclick="document.bank_form.act.value='withdraw';document.bank_form.submit()">
<BR>------[金融業務]------<BR>
<input type="button" name='quoteselected' class='liteoption' value="轉帳" onclick="document.bank_form.act.value='paymove';document.bank_form.submit()">
<BR>------[貸款服務]------<BR>
<input type="button" name='quoteselected' class='liteoption' value="貸款" onclick="document.bank_form.act.value='loan';document.bank_form.submit()">
|
<input type="button" name='quoteselected' class='liteoption' value="還貸" onclick="document.bank_form.act.value='repays';document.bank_form.submit()">
|
●架設環境:付費空間 [Unix]
●上網方式:香港區網 [和記]
●phpBB2 版本:phpBB 2.0.16
●MySQL 版本 4.0.17
●phpMyAdmin 2.5.6
●PHP 版本: 4.3.10
●上網方式:香港區網 [和記]
●phpBB2 版本:phpBB 2.0.16
●MySQL 版本 4.0.17
●phpMyAdmin 2.5.6
●PHP 版本: 4.3.10
[問題] 在問...
出處 http://phpbb-tw.net/phpbb/viewtopic.php?p=192000#192000
可以再問一次嗎?
就是裡面不是可以輸入金額等等的數字嗎?
但是輸入數字的顏色 就是字的顏色\r
是淡淡的,不怎麼清楚
請問要怎麼改 才看的清楚呢?
麻煩一下...
可以再問一次嗎?
就是裡面不是可以輸入金額等等的數字嗎?
但是輸入數字的顏色 就是字的顏色\r
是淡淡的,不怎麼清楚
請問要怎麼改 才看的清楚呢?
麻煩一下...
目前在學3D模組製作,努力加油中 . . .
這是我的改法,供你參考^^
開啟bank_body.tpl
尋找:
改為:
尋找:
改為:
開啟bank_body.tpl
尋找:
代碼: 選擇全部
金額 : <input type="text" name="money" size="15" value><br>
代碼: 選擇全部
金額 : <input type="text" class='post' name="money" size="15" value><br>
代碼: 選擇全部
帳號:<input type="text" name="pay_id" size="18" value><br>
代碼: 選擇全部
帳號:<input type="text" class='post' name="pay_id" size="18" value><br>
●架設環境:付費空間 [Unix]
●上網方式:香港區網 [和記]
●phpBB2 版本:phpBB 2.0.16
●MySQL 版本 4.0.17
●phpMyAdmin 2.5.6
●PHP 版本: 4.3.10
●上網方式:香港區網 [和記]
●phpBB2 版本:phpBB 2.0.16
●MySQL 版本 4.0.17
●phpMyAdmin 2.5.6
●PHP 版本: 4.3.10
-
- 星球公民
- 文章: 114
- 註冊時間: 2005-02-10 17:52
後台銀行設定...
要怎麼設定?
我何我設定好案送出後...一樣是空白的?
要怎麼設定?
我何我設定好案送出後...一樣是空白的?
●架設主機作業系統:Windows XP
●快速架站程式:Appserv、MySQL、phpMyAdmin
●您的上網方式:Hinet ADSL 8M/640K
●您安裝的程式:Apache2.4.3 + php2.0.13 + MySql2.6.1
●您的 phpBB2 版本:phpBB 2.0.13
●論壇網址:Rx2 cLAn論壇首頁
●論壇已裝mod:主題類型、跑馬燈公告v1.2、推薦網站、整合性TOP5、文章強迫斷行、音樂播放
●快速架站程式:Appserv、MySQL、phpMyAdmin
●您的上網方式:Hinet ADSL 8M/640K
●您安裝的程式:Apache2.4.3 + php2.0.13 + MySql2.6.1
●您的 phpBB2 版本:phpBB 2.0.13
●論壇網址:Rx2 cLAn論壇首頁
●論壇已裝mod:主題類型、跑馬燈公告v1.2、推薦網站、整合性TOP5、文章強迫斷行、音樂播放
我裝了能正常運作,我用的admin_bank.php是這樣的:
或許你對比下自己的檔案有沒有不同,因為我記得這檔案曾經作過修正,所以不知你那個檔案是修正了前或後的
代碼: 選擇全部
<?php
/***************************************************************************
* bank.php
* -------------------
* Version : 1.1.0
* began : Tuesday, December 17th, 2002
* released : Wednesday, December 18th, 2002
* source form : ice_rain_@hotmail.com
* modify : goldwing_chien@acer.com.tw
* modify date : 2003/05/23
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$file = basename(__FILE__);
$module['Users']['Bank_Configuration'] = $file;
return;
}
//
// Let's set the root dir for phpBB
//
$phpbb_root_path = '../';
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
//
//check for userlevel
//
if( !$userdata['session_logged_in'] )
{
header('Location: ' . append_sid("login.$phpEx?redirect=admin/admin_bank.$phpEx", true));
}
if( $userdata['user_level'] != ADMIN )
{
message_die(GENERAL_MESSAGE, $lang['Not_Authorised']);
}
//end check
//bank pages
$template->set_filenames(array(
'body' => 'admin/bank_config_body.tpl')
);
if (!empty($HTTP_POST_VARS['act']) || !empty($HTTP_GET_VARS['act']))
{
$action = (!empty($HTTP_POST_VARS['act'])) ? $HTTP_POST_VARS['act'] : $HTTP_GET_VARS['act'];
}
else
{
$action = '';
}
switch ($action)
{
case '':
bank_info();
break;
case 'updatebank':
updatebank();
break;
default:
message_die(GENERAL_MESSAGE, '不正常操作!');
break;
}
//########## bank_info begin #############
function bank_info()
{
global $db,$template,$phpEx;
$sql = array();
$bankinfo = array();
$sql[] = "select config_value from " . CONFIG_TABLE . " where config_name='bankfees'";
$sql[] = "select config_value from " . CONFIG_TABLE . " where config_name='bankpayouttime'";
$sql[] = "select config_value from " . CONFIG_TABLE . " where config_name='bankname'";
$sql[] = "select config_value from " . CONFIG_TABLE . " where config_name='bankpayset'";
$sql[] = "select config_value from " . CONFIG_TABLE . " where config_name='bankloanfees'";
$sql[] = "select config_value from " . CONFIG_TABLE . " where config_name='bankpayoutloantime'";
$sql[] = "select config_value from " . CONFIG_TABLE . " where config_name='bankpayloanset'";
$sql[] = "select config_value from " . CONFIG_TABLE . " where config_name='loanmax'";
$sql_count = count($sql);
for($i = 0; $i < $sql_count; $i++)
{
if ( !($result = $db->sql_query($sql[$i])) ) { message_die(GENERAL_MESSAGE, 'Fatal Error Getting Bank Information!'); }
$row = mysql_fetch_array($result);
$bankinfo[] = $row['config_value'];
}
$banksettings = '<input type="hidden" name="act" value="updatebank">
<tr><td class="row2"><span class="gensmall">銀行名稱 </span></td><td class="row2"><input type="text" name="name" size="32" value="'.$bankinfo[2].'" maxlength="32"></td></tr>
<tr><td class="row2"><span class="gensmall">利率 </span></td><td class="row2"><input type="text" name="fees" size="5" value="'.$bankinfo[0].'" maxlength="6"></td></tr>
<tr><td class="row2"><span class="gensmall">利息結算週期 </span></td><td class="row2"><input type="text" name="payset" size="5" value="'.$bankinfo[3].'" maxlength="3"></td></tr>
<tr><td class="row2"><span class="gensmall">利息最後一次結算時間</span></td><td class="row2">'.date('Y-m-d H:i:s',$bankinfo[1]).' </td></tr>
<tr><td class="row2"><span class="gensmall">貸款利率 </span></td><td class="row2"><input type="text" name="fees_loan" size="5" value="'.$bankinfo[4].'" maxlength="6"></td></tr>
<tr><td class="row2"><span class="gensmall">貸款利息結算週期 </span></td><td class="row2"><input type="text" name="payset_loan" size="5" value="'.$bankinfo[6].'" maxlength="3"></td></tr>
<tr><td class="row2"><span class="gensmall">貸款利息最後一次結算時間</span></td><td class="row2">'.date('Y-m-d H:i:s',$bankinfo[5]).' </td></tr>
<tr><td class="row2"><span class="gensmall">貸款最高上限 </span></td><td class="row2"><input type="text" name="loanmax" size="8" value="'.$bankinfo[7].'"></td></tr>
<tr><td class="row2" colspan="2" align="center"><input type="submit" value="Update" name="Update"></td></tr></form>';
$template->assign_vars(array(
'BANKCONFIGINFO' => "$banksettings",
'BANKTABLETITLE' => "Modify Bank Settings",
'S_CONFIG_ACTION' => append_sid('admin_bank.' . $phpEx),
'BANKTITLE' => "Bank Editor",
'BANKEXPLAIN' => "This section allows you to edit the bank settings.")
);
}
//########## updatebank begin #############
function updatebank()
{
global $db,$template,$phpEx,$HTTP_POST_VARS;
$usql = array();
if (isset($HTTP_POST_VARS['name'])) { $usql[] = "update ". CONFIG_TABLE . " set config_value='".$HTTP_POST_VARS['name']."' where config_name='bankname'"; }
if (isset($HTTP_POST_VARS['fees'])) { $usql[] = "update ". CONFIG_TABLE . " set config_value='".$HTTP_POST_VARS['fees']."' where config_name='bankfees'"; }
if (isset($HTTP_POST_VARS['payset'])) { $usql[] = "update ". CONFIG_TABLE . " set config_value='".$HTTP_POST_VARS['payset']."' where config_name='bankpayset'"; }
if (isset($HTTP_POST_VARS['fees_loan'])) { $usql[] = "update ". CONFIG_TABLE . " set config_value='".$HTTP_POST_VARS['fees_loan']."' where config_name='bankloanfees'"; }
if (isset($HTTP_POST_VARS['payset_loan'])) { $usql[] = "update ". CONFIG_TABLE . " set config_value='".$HTTP_POST_VARS['payset_loan']."' where config_name='bankpayloanset'"; }
if (isset($HTTP_POST_VARS['loanmax'])) { $usql[] = "update ". CONFIG_TABLE . " set config_value='".$HTTP_POST_VARS['loanmax']."' where config_name='loanmax'"; }
$sql_count = count($usql);
for($i = 0; $i < $sql_count; $i++) { if ( !($db->sql_query($usql[$i])) ) { message_die(GENERAL_MESSAGE, 'Fatal Error Updating Bank Information!'); } }
message_die(GENERAL_MESSAGE, '銀行設定已經完成更新!<br /><br />點選 <a href="'.append_sid("admin_bank.".$phpEx).'">這裡</a> 返回銀行設定<br /><br />點選 <a href="'.append_sid("index.".$phpEx."?pane=right").'">這裡</a> 回到控制台首頁<br /><br />');
}
//
// Generate the page
//
$template->pparse('body');
include('page_footer_admin.' . $phpEx);
?>
或許你對比下自己的檔案有沒有不同,因為我記得這檔案曾經作過修正,所以不知你那個檔案是修正了前或後的