All pastes #730633 Raw Edit

davd

public php v1 · immutable
·published 2007-10-09 12:16 UTC
rendered paste body
<!-------------------------Brainpulse Technologies Pvt.Ltd. - SOFTWARE DIVISION --------------------------TEAM MEMBERS     - SHILPI AGGARWAL,ADEEL RIAZ FAROOQUI,SAURABH SINHA,RATISH SHARMA-----------------------------------------------------------------------------------------------------------><script type="text/javascript">function limitTextarea(el,maxLines,maxChar){	//text=el.value;	if(!el.x){			el.x=uniqueInt();			el.onblur=function(){clearInterval(window['int'+el.x])}			}window['int'+el.x]=setInterval(function(){	var text=el.value;var lines=el.value.replace(/\r/g,'').split('\n'),i=lines.length,lines_removed,char_removed;if(maxLines&&i>maxLines){alert('You can not enter\nmore than '+maxLines+' lines');lines=lines.slice(0,maxLines);lines_removed=1}if(maxChar){	i=lines.length;	while(i-->0)if(lines[i].length>maxChar){		lines[i]=lines[i].slice(0,maxChar)+"\n";		char_removed=1		}	//if(char_removed)alert('You can not enter more\nthan '+maxChar+' characters per line')}if(char_removed||lines_removed)el.value=lines.join('\n')},50);}function uniqueInt(){var num,maxNum=100000;if(!uniqueInt.a||maxNum<=uniqueInt.a.length)uniqueInt.a=[];do num=Math.ceil(Math.random()*maxNum);while(uniqueInt.a.hasMember(num))uniqueInt.a[uniqueInt.a.length]=num;return num}Array.prototype.hasMember=function(testItem){var i=this.length;while(i-->0)if(testItem==this[i])return 1;return 0};function set_ie_alert(){window.alert=function(msg_str){vb_alert(msg_str)}}</script><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">  <tr>     <td align=center><img src="images/map.jpg" ></td>    <td><img src="images/logoname.jpg"></td>  </tr>  <tr><td class=ntex>  <?php	echo "&nbsp;&nbsp;";	$SELECT_USER_NAME=mysql_query("SELECT * FROM users WHERE id=".$_SESSION['UserId']);	echo "Welcome, ".ucfirst(mysql_result($SELECT_USER_NAME,0,'users_fname'));  ?>  </td>  <td class=ntex align=right>[ <a href="index2.php?filename=logout.php">Logout</a> ] &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp  </td>  </tr>  <tr><td align=left>    <?	  $today = getdate();		echo "<font face=verdana size=1 color=#FFFFFF>&nbsp;&nbsp;Dated:";	echo $today[mday]."-".$today[month]."-".$today[year] ."&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>";?>  </td></tr></table>