- Joined
- Apr 1, 2009
- Messages
- 1,220
- Reaction score
- 1,281
Bulgarian:
1. Отваряте файла resets.php в webshop/modules/
2. Намирате този ред:
3. След него добавяте това:
4. Намирате:
5. След него добавяте:
6. променяте $maxres= 1000;
7. Променяте и Max resets is 1000
8. Запазвате и тествате.
9. Ако съм помогнал дайте
English:
1. Open file resets.php in webshop/modules/
2. Search for:
3. Add after:
4. Search for:
5. Add after:
6. Change $maxres= 1000;
7. And Max resets is 1000
8. Save and test.
9. If i help use
Sorry for my bad english.
1. Отваряте файла resets.php в webshop/modules/
2. Намирате този ред:
PHP:
$increase_resets = $_POST['resets'];
PHP:
$query1 = mssql_query("select [Resets] from [Character] where [Name]='".secure($_POST['character'])."'");
$reseta1= mssql_fetch_row($query1);
$reseta= $reseta1[0];
$maxres= 1000;
PHP:
switch($increase_resets) {
PHP:
case $increase_resets+$reseta>$maxres:
$legtitle = "Error";
$content = "Max resets is 1000";
break;
7. Променяте и Max resets is 1000
8. Запазвате и тествате.
9. Ако съм помогнал дайте
English:
1. Open file resets.php in webshop/modules/
2. Search for:
PHP:
$increase_resets = $_POST['resets'];
PHP:
$query1 = mssql_query("select [Resets] from [Character] where [Name]='".secure($_POST['character'])."'");
$reseta1= mssql_fetch_row($query1);
$reseta= $reseta1[0];
$maxres= 1000;
PHP:
switch($increase_resets) {
PHP:
case $increase_resets+$reseta>$maxres:
$legtitle = "Error";
$content = "Max resets is 1000";
break;
7. And Max resets is 1000
8. Save and test.
9. If i help use
Sorry for my bad english.
Last edited: