Changeset 71 for www/sunrisechat/sunrisechat2.php
- Timestamp:
- Apr 16, 2008, 6:29:56 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
www/sunrisechat/sunrisechat2.php
r43 r71 3 3 include_once('../global.php'); 4 4 include_once('webchatsend.php'); 5 //$Config['Web']['ShowError'] = 1; 5 $Config['Web']['ShowError'] = 1; 6 $Charset = 'latin2'; 7 $Database->charset($Charset); 6 8 7 9 $Debug = 0; … … 24 26 if($Command == 'Message') 25 27 { 26 $Database->charset($C onfig['Database']['Charset']);28 $Database->charset($Charset); 27 29 $Color = $Parts[7]; 28 30 $Text = $Parts[8]; … … 80 82 if($Command == 'WhoIs') // for WebSunriseChat support 81 83 { 82 $ Result = $Database->select('sunrisechat_onlinelist','*','sender_id='.$TargetID.' AND sender_ip="'.$TargetIP.'" AND operating_system="Fedora Core 2"');83 if($DbResult->num_rows ()> 0)84 $DbResult = $Database->select('sunrisechat_onlinelist','*','sender_id='.$TargetID.' AND sender_ip="'.$TargetIP.'" AND operating_system="Fedora Core 2"'); 85 if($DbResult->num_rows > 0) 84 86 { 85 87 $Row = $DbResult->fetch_array();
Note:
See TracChangeset
for help on using the changeset viewer.