1 頁 (共 1 頁)

[問題] bank_v3按鈕顏色...

發表於 : 2005-04-06 23:37
ghostfbnm
出處 http://phpbb-tw.net/phpbb/viewtopic.php?p=192000#192000

如何修改bank_v3裡面的按鈕顏色...
我的看起來幾乎是白色的 很難辨認...
或是讓字清楚...
請大大解答唷 謝謝...

圖檔

發表於 : 2005-04-07 10:27
bokie
主要是在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()">
          |

[閒聊] 恩

發表於 : 2005-04-07 10:35
ghostfbnm
感謝囉 ^___^

[問題] 在問...

發表於 : 2005-04-07 18:42
ghostfbnm
出處 http://phpbb-tw.net/phpbb/viewtopic.php?p=192000#192000

可以再問一次嗎?
就是裡面不是可以輸入金額等等的數字嗎?
但是輸入數字的顏色 就是字的顏色\r
是淡淡的,不怎麼清楚
請問要怎麼改 才看的清楚呢?
麻煩一下...
圖檔

發表於 : 2005-04-07 21:32
bokie
這是我的改法,供你參考^^

開啟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>

[反應] 嗯嗯 ^^

發表於 : 2005-04-07 21:37
ghostfbnm
喔喔 了解囉...

再次感謝你嘿...

^___________^(ro16)

發表於 : 2005-04-07 21:56
bokie
大家幫忙嘛^^

發表於 : 2005-04-10 02:34
acc_kang_ta
後台銀行設定...

要怎麼設定?

我何我設定好案送出後...一樣是空白的?

發表於 : 2005-04-10 02:58
tseesther
我裝了能正常運作,我用的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);


?>


或許你對比下自己的檔案有沒有不同,因為我記得這檔案曾經作過修正,所以不知你那個檔案是修正了前或後的