mirror of
				https://github.com/Mibew/java.git
				synced 2025-10-31 18:41:09 +03:00 
			
		
		
		
	Departments made simpler, and made text box smaller.
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@276 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
		
							parent
							
								
									0d5cc66450
								
							
						
					
					
						commit
						6a8eca019b
					
				| @ -1,4 +1,3 @@ | ||||
| 
 | ||||
| encoding=utf-8 | ||||
| output_charset=utf-8 | ||||
| output_encoding=utf-8 | ||||
| @ -274,8 +273,6 @@ settings.company.title.description=Enter your company title | ||||
| settings.company.title=Company title | ||||
| settings.email.description=Enter email to receive system messages | ||||
| settings.email=Email | ||||
| settings.departments.add=Add a department | ||||
| settings.departments.add.description= Add a department for users to contact one user. | ||||
| settings.enableban.description=Using it you can block attacks from specific IPs | ||||
| settings.enableban=Enable feature "Malicious Visitors" | ||||
| settings.geolink.description=Each IP becomes a link opening in new window. {ip} is substituted with a real ip.   | ||||
| @ -306,3 +303,7 @@ topMenu.admin=Administration | ||||
| topMenu.logoff=Exit | ||||
| topMenu.users=Visitors | ||||
| typing.remote=Remote user is typing... | ||||
| 
 | ||||
| departments.add=Add a department | ||||
| departments.add.description= Add a department for users to contact one user. | ||||
| 
 | ||||
|  | ||||
| @ -75,9 +75,9 @@ | ||||
| <tr><td background='<?php echo $webimroot ?>/images/loginbg.gif'><table cellspacing='0' cellpadding='0' border='0'><tr><td><img src='<?php echo $webimroot ?>/images/logincrnlt.gif' width='16' height='16' border='0' alt=''></td><td></td><td><img src='<?php echo $webimroot ?>/images/logincrnrt.gif' width='16' height='16' border='0' alt=''></td></tr><tr><td></td><td align='center'><table border='0' cellspacing='0' cellpadding='0' width="700"> | ||||
| 		<tr><td width='10'><img width='10' height='1' border='0' alt='' src='<?php echo $webimroot ?>/images/free.gif'></td> | ||||
| 
 | ||||
| 		<tr><td class='formauth'><?php echo getlocal('settings.departments.add') ?></td><td width='10'><img width='10' height='1' border='0' alt='' src='<?php echo $webimroot ?>/images/free.gif'></td><td></td></tr><tr><td height='2' colspan='3'></td></tr><tr><td>
 | ||||
| 			<INPUT NAME="name" TYPE="TEXT" SIZE="20" MAXLENGTH="255">  | ||||
| 		</td><td></td><td class='formauth'><span class='formdescr'> — <?php echo getlocal('settings.departments.add.description') ?></span></td></tr><tr><td colspan='3' height='10'></td></tr>
 | ||||
| 		<tr><td class='formauth'><?php echo getlocal('departments.add') ?></td><td width='10'><img width='10' height='1' border='0' alt='' src='<?php echo $webimroot ?>/images/free.gif'></td><td></td></tr><tr><td height='2' colspan='3'></td></tr><tr><td>
 | ||||
| 			<INPUT NAME="name" TYPE="TEXT" SIZE="10" MAXLENGTH="255">  | ||||
| 		</td><td></td><td class='formauth'><span class='formdescr'> — <?php echo getlocal('departments.add.description') ?></span></td></tr><tr><td colspan='3' height='10'></td></tr>
 | ||||
| 		 | ||||
| 
 | ||||
| 		<tr><td colspan='3' height='20'></td></tr><tr><td colspan='3' background='<?php echo $webimroot ?>/images/formline.gif'><img src='<?php echo $webimroot ?>/images/formline.gif' width='1' height='2' border='0' alt=''></td></tr><tr><td colspan='3' height='10'></td></tr> | ||||
| @ -94,12 +94,4 @@ | ||||
| </tr> | ||||
| </table> | ||||
| </body> | ||||
| </html> | ||||
| <?  | ||||
| $name=$_POST['name'];  | ||||
|   | ||||
| mysql_connect("localhost", "root", "") or die(mysql_error());  | ||||
| mysql_select_db("test") or die(mysql_error());  | ||||
| mysql_query("INSERT INTO `data` VALUES ('$name')");  | ||||
| Print "Your information has been successfully added to the database.";  | ||||
| ?>
 | ||||
| </html> | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user