You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

10. May 2010, 19:54:36

Seregakr

Posts: 20

myaiesec.net

Сайт myaiesec.net работает некорректно...Не отображаются некоторые элементы меню, без которых работа сайта невозможна. Ниже прикрепляю 2 скриншота и код одной из страниц
[spoiler]
<html>
<head>
<link href="/css/aiesec.css"
	rel="stylesheet" type="text/css">
	

<title>AIESEC </title>

<script language="javascript" type="text/javascript"
	src="/scripts/ajaxscript/prototype-1.4.0.js"></script>
<script language="javascript">	
var totaltimeLeft;
var minutesLeft;
var secondsLeft;
function closeSession()
{	
		new Ajax.Request('memberslogout.do',
		{
			parameters :'',
			onSuccess: function(transport) { 
		} 
		});	
}
function funCloseButton()
{
	if((window.event.clientX<0) || (window.event.clientY<0))
	{
		closeSession();
	}
}
function viewTnPopup(tnId)
{

window.open('/exchange/viewtn.do?tnid='+tnId,'PopupPage','width=570,height=500,menubar=no,resizable=yes,location=no,scrollbars=yes,left=200,top=100'); 
}
function viewEpPopup(epId){
window.open('/exchange/viewep.do?epid='+epId,'PopupPage','width=570,height=500,menubar=no,resizable=yes,location=no,scrollbars=yes,left=200,top=100'); 

}

function validateScriptTag(content,text)
{
	var iText = content.toLowerCase();
	if( iText.indexOf('<script') != -1 || iText.indexOf('< script') != -1 ||iText.indexOf('&lt;script') != -1|| iText.indexOf('&lt; script') != -1 ) {
	alert('<script> tag is not allowed in '+text);
	return false;
	}
	else
	{
	  return true;
	}
}

function allowedTag(content,text)
{
	var iText = content.toLowerCase();

	var flag=0;
	
	var allowedTags = new Array();
	allowedTags[0] = "em";
	allowedTags[1] = "strong";
	allowedTags[2] = "u";
	allowedTags[3] = "p";
	allowedTags[4] = "font";
	allowedTags[5] = "sub";
	allowedTags[6] = "sup";
	allowedTags[7] = "ul";
	allowedTags[8] = "ol";
	allowedTags[9] = "li";
	allowedTags[10] = "div";
	allowedTags[11] = "blockquote"
	allowedTags[12] = "table";
	allowedTags[13] = "tbody";
	allowedTags[14] = "tr";
	allowedTags[15] = "td";
	allowedTags[16] = "img";
	allowedTags[17] = "a";
	allowedTags[18] = "br"; //mozilla
	allowedTags[19] = "span"; //mozilla

	var flag=0;
	var arr= new Array();
	var tempArr= new Array();
	arr=iText.split('>');
	var k1=0;
	
	for(var k=0;k<arr.length;)
	{
		if(arr[k].indexOf('<') != -1 && arr[k].indexOf('/')== -1)
		{
			tempArr[k1]=arr[k].substr(arr[k].indexOf('<'));
			k1++;
		}

	k++;
	}
	var i;
	var notAllowed;
	for(i=0;i<tempArr.length;)
	{
		
		for(var j=0;j<allowedTags.length;)
		{
			if(tempArr[i].indexOf('<'+allowedTags[j])!= -1 || tempArr[i].indexOf('< '+allowedTags[j]) != -1 || tempArr[i].indexOf('&lt;'+allowedTags[j]) != -1 || tempArr[i].indexOf('&lt; '+allowedTags[j])!= -1 ) {
			flag=1;
			break;
			}
		j++;
		}
		if(allowedTags.length==j)
		{
			notAllowed=tempArr[i];
			flag=0;
			break;
		}
	i++;
	}
	if(flag==0 && tempArr.length!=0){
		alert(notAllowed+ '> tag is not allowed in '+text);
	}
		if(tempArr.length==0)
		{
			
			flag=1;
		}

	return flag;
}

function viewTextMode(n) { 
  var getDocument = document.getElementById("wysiwyg" + n).contentWindow.document;
  var browserName = navigator.appName;
	
	// View Text for IE 	  	 
  if (browserName == "Microsoft Internet Explorer") {
    var iText = getDocument.body.innerText;
    if(viewTextMode==1){
	    getDocument.body.innerHTML = iText;
	 }
	}
  
	// View Text for Mozilla/Netscape0
  else {
    var html = getDocument.body.ownerDocument.createRange();
    html.selectNodeContents(getDocument.body);
    if(viewTextMode==1){
    getDocument.body.innerHTML = html.toString();
    }
	}
  
	// Hide the Text Mode button and show the HTML Mode button
  document.getElementById('textMode' + n).style.display = 'none'; 
	document.getElementById('HTMLMode' + n).style.display = 'block';
	
	viewTextMode = 0;
}
function modeValue()
{

	return viewTextMode;
}

function notAllowedTag(content,text){
	var iText = content.toLowerCase();
	var flag=0;
	var arr= new Array();
	var tempArr= new Array();
	arr=iText.split('>');
	var k1=0;	
	if( iText.indexOf('<') != -1 || iText.indexOf('< ') != -1 ||iText.indexOf('&lt;') != -1|| iText.indexOf('&lt; ') != -1 ) {
	return false;
	}
	else {
	return true;
	}
}
function opensupport()
{
document.getElementById('support_username').value="visitor_registration"; 
document.getElementById('support_page_url').value='http://www.myaiesec.net/login.do'; 
window.open('','window','channelmode=yes,menubar=yes,resizable=yes,location=yes,scrollbars=yes,toolbar=yes,status=yes');              
 document.submitForm.submit();
}
// The below variables are declared globally and the values will be assigned only once.
totaltimeLeft = 1500; //Total session time left in seconds
// Function to display the session time left in the Status bar
function sessionTimeout()
{
	totaltimeLeft  = totaltimeLeft - 1;
	minutesLeft = Math.floor(totaltimeLeft/60);
	secondsLeft = Math.floor(totaltimeLeft%60);
	if (totaltimeLeft>0)
	{
		if(minutesLeft>0)
		{
			window.status="Your session will expire within " + minutesLeft + " minute(s) and " + secondsLeft + " second(s)";
		}
		else
		{
			window.status="Your session will expire within " + secondsLeft + " second(s)";
		}
	}
	else
	{
		window.status="Your session has expired";
	}
}

/* Call the sessionTimeout() method every second to update the session time left for the user */
new PeriodicalExecuter(sessionTimeout, 1);

</script>
</head>
<body onbeforeunload="setRequest();" topmargin="0" bottommargin="0">

	
<script>
var removeHeader = false;
var hItem = 'null';
var lItem = 'null';
var rightMenu = '/WEB-INF/pages/common/blank.jsp';
var headerMenu = '/WEB-INF/pages/common/blank.jsp';
function createCookie(name,value,days) {
    if (days) {
        var date = new Date();
        date.setTime(date.getTime()+(days*24*60*60*1000));
        var expires = "; expires="+date.toGMTString();
    }
    else var expires = "";
    document.cookie = name+"="+value+expires+"; path=/";
}

function setRequest() {
	createCookie("rightMenu",rightMenu,0);
	createCookie("headerMenu",headerMenu,0);
	createCookie("leftItem",lItem,0);
	createCookie("hItem", hItem,0);	

}



function headerSet(hitem) {
	hItem = hitem;
}

function leftSet(litem) {
	lItem = litem;
}
function headerMenuSet(headerM) {
	headerMenu = headerM;
}
function rightMenuSet(rightM) {
	rightMenu = rightM;
}

function menuSet( hMenuSet, rMenuSet, hitem, litem ) {
	hItem = hitem;
	lItem = litem;
	headerMenu = hMenuSet;
	rightMenu = rMenuSet;	
}




</script>




<table style="width: 100%; margin-top: 0;margin-bottom: 0"
	cellpadding="0" cellspacing="0">
	<tr>
		<td colspan="2"><div id="header">
	<div id="header-graphic"></div>
</div>


</td>
	</tr>

	<tr>
		<td width="15%" class="leftMenuRepeatClass"
			valign="top">
		<div id="title-graphic"></div>
		




<script language="javascript" type="text/javascript"
	src="/scripts/wz_tooltip.js"></script>



	






	
	

	<div id="mainbg">
	
	<div id="main-nav">
	<ul>
	
		
			
						
			
			<li><a href="/stagehome.do?menuitem=1" class = "leftheadermenulinkclass">Home</a></li>
			
			

	
		
			
						
			
			<li><a href="/basicinfo.do?profiletype=view&menuitem=2" class = "leftheadermenulinkclass">Profile</a></li>
			
			

	
		
			
						
			
			<li><a href="/message.do?menuitem=3" class = "leftheadermenulinkclass">Inbox</a></li>
			
			

	
		
			
						
			
			<li><a href="/userteam.do?menuLink=team&sort=name&menuitem=4" class = "leftheadermenulinkclass">Teams</a></li>
			
			

	
		
			
						
			
			<li><a href="/viewgroup.do?menuLink=viewgroup&sort=name&menuitem=5" class = "leftheadermenulinkclass">Groups</a></li>
			
			

	
		
			
						
			
			<li><a href="/alumninetwork.do?sort=fname&menuitem=6" class = "leftheadermenulinkclass">Networking</a></li>
			
			

	
		
			
						
			
			<li><a href="/content/newslandingpage.do?opern=landingPageData&menuitem=7" class = "leftheadermenulinkclass">News</a></li>
			
			

	
		
			
						
			
			<li><a href="/content/classifiedlandingpage.do?menuitem=8" class = "leftheadermenulinkclass">Classifieds</a></li>
			
			

	
		
			
						
			
			<li><a href="/content/wikilandingpage.do?menuitem=9" class = "leftheadermenulinkclass">Wiki</a></li>
			
			

	
		
			
						
			
			<li><a href="/content/forumlandingpage.do?menuitem=10" class = "leftheadermenulinkclass">Forums</a></li>
			
			

	
		
			
						
			
			<li><a href="/adminStaticContent.do?operation=Blog&menuitem=11" class = "leftheadermenulinkclass">Blogs</a></li>
			
			

	
		
			
						
			
			<li><a href="/content/filelandingpage.do?menuitem=12" class = "leftheadermenulinkclass">Files</a></li>
			
			

	
		
			
						
			
			<li><a href="/content/surveylandingpage.do?opern=getLandingPageSurveys&menuitem=13" class = "leftheadermenulinkclass">Surveys</a></li>
			
			

	
		
			
						
			
			<li><a href="/adminStaticContent.do?operation=organization&menuitem=14" class = "leftheadermenulinkclass">Partnership</a></li>
			
			

	
		
			
						
			
			<li><a href="/toptentnepglobal.do?operation=executeAction&menuitem=15" class = "leftheadermenulinkclass">Exchange</a></li>
			
			

	
		
			
			
				</ul>

<ul>
			

	
		
			
						
			
			<li><a href="/content/offeringlanding.do?operation=executeAction&menuitem=17" class = "leftheadermenulinkclass">Alumni Market Place</a></li>
			
			

	
		
			
						
			
			<li><a href="/alumnibusinessdirbrowse.do?menuitem=18" class = "leftheadermenulinkclass">Alumni Business Directory</a></li>
			
			

	
		
			
						
			
			<li><a href="/content/coffeelanding.do?coffeelanding=true&menuitem=19" class = "leftheadermenulinkclass">Alumni Connections</a></li>
			
			

	
		
			
						
			
			<li><a href="/content/premiumcontentlandingpage1.do?menuitem=20" class = "leftheadermenulinkclass">Offers & Opportunities</a></li>
			
			

	
		
			
						
			
			<li><a href="/donationlandingpage.do?opern=landingPageData&menuitem=21" class = "leftheadermenulinkclass">Donations</a></li>
			
			

	
		
			
						
			
			<li><a href="/content/browsecareeropportunities.do?menuitem=22" class = "leftheadermenulinkclass">Career Opportunities</a></li>
			
			

	
		
			
			
				</ul>

<ul>
			

	
		
			
			
			<li><a href="#" onclick="opensupport()" class="leftheadermenulinkclass">Support</a></li>	
			

	
		
			
						
			
			<li><a href="/logout.do?menuitem=25" class = "leftheadermenulinkclass">Logout</a></li>
			
			

	
	
	<li class="ad">
	

	<a style="text-decoration: none" onclick="gobannerLink('www.myaiesec.net/content/viewwiki.do?contentid=10122797')">
	<img src="/bannerDisplay.do" width="120" height="240" id="bannerImg" border="0" style="cursor:pointer" />
	</a>
	</li>
	
	<li class="ad"><img src="/images/cssimages/img.JPG" width="112px" height="600px" /></li>
	</ul>
	</div>
	
	</div>



<script>

	function submitLeftMenu(item ) {
		document.leftMenuForm.menuitem.value = item
		document.leftMenuForm.submit();
	}
	function gobannerLink(link)
	{
		window.open('http://'+link,'PopupPage','channelmode=yes,menubar=yes,resizable=yes,location=yes,scrollbars=yes,toolbar=yes,status=yes'); 
	}

</script>

<form name = "leftMenuForm" method = "post" >
	<input type="hidden" name = "menuitem" value = "" />
</form>
	


</td>
		<td width="85%" valign="top">
		<table width="100%" cellspacing="0" cellpadding="0">
			<tr>
				<td align="left" colspan="2">







<script language="javascript" type="text/javascript"
	src="/scripts/ajaxscript/prototype-1.4.0.js"></script>

<script language="javascript">	

/*function getMemberCount(){
new Ajax.Request('onlinepeopleCount.do' , {
 
 onSuccess: function(transport) { 
 var response = transport.responseText || "0";  
 
  if( response == '' ){
		alert( 'no response text');
  }else if( response == '' ) {  
  			alert('Your session has expired.');
  			document.all.onlinepeopleCount.innerHTML= "";
  }else {
 		 document.all.onlinepeopleCount.innerHTML= "<a onclick = 'headerSet(0);leftSet(0);' href='/onlinepeople.do' class='rightMenulinkClass'> Members Online(" + response + ")" + "</a>";
  } 
 

 }  
 });

}

getMemberCount(); */


</script>




<table style="WIDTH: 100%;ALIGN: CENTER;" >
	<tr>
	<td  align="left"  width="60%">
		 
	
	</td>
	
	<tr><td>&nbsp;</td></tr>
	
</table>



</td>
			</tr>
			<tr>
				<td align="right" colspan="2">
				<table width="98%" cellpadding="0" cellspacing="0">
					<tr>
						<td align="left"></td>
					</tr>
				</table>
				</td>
			</tr>
			
				<tr valign="top">
				<td width="65%">
				






			</td>
			</tr>
			<tr valign="top">
				<td width="65%" align="right">
				
				<table style="width: 97%; margin-top: 0;margin-bottom: 0" cellpadding="0" cellspacing="0"> 
					<tr>
						<td>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">






<script language="javascript" type="text/javascript"
	src="/scripts/datetimepicker.js">
</script>
<script language="javascript" type="text/javascript"
	src="/scripts/tnscript.js">
	</script>
<script language="javascript" type="text/javascript"
	src="/scripts/xchangeglobalanalysisvalidations.js">
	</script>
	

<script>
var radioTnId;
function iscorrselected()
{
  	if(document.getElementById('id_tnid').checked==false)
  	{
  		var radioSelected="no";
  		var radioLength = document.epCommonSearchForm.selecttn.length;
  		
  		for(var indexVar=0;indexVar<radioLength;indexVar++){
  		
  			if(document.epCommonSearchForm.selecttn[indexVar].checked){
  				radioSelected="yes";
  				break;
  			}
  			
  		
  		}
  	 
  	 if(radioSelected=="yes"){
  	 
 		return true;
 		
  	
  	}else {
  		alert("Please select the EP form");
  		return false;
  	}
  	}
  	else
  	{
  		return true;
  	}	
}
function statusEp(){

	if(document.getElementById('statusep').value!=9)
	alert("Please select the Available Status");
	return false;

}
function searchResultTnCommon()
{


	 if(!validateCommitteeCmb())
	{
	    return false;
	}
 
	if (document.getElementById('statusep').value=="0")
	{
		alert("EP Status is Required");
		return false;
	}
	if (document.getElementById('datefrom').value=="")
	{
		alert("From Date is required");
		return false;
	}
	if (document.getElementById('dateto').value=="")
	{
		alert("To Date is required");
		return false;
	}
		if (document.epCommonSearchForm.interested.checked)
	   		{
	   		document.epCommonSearchForm.interestFlag.value = "1";
	   		}
	   	else 
	   		{
		   	document.epCommonSearchForm.interestFlag.value = "0";
		   	}
		if (document.epCommonSearchForm.subscribe.checked)
			{
	   		document.epCommonSearchForm.subscribeFlag.value = "1";
	   		}
	   	else
	   		{
		   	document.epCommonSearchForm.subscribeFlag.value = "0";
		   	}
	
	 if(!document.getElementById('datefrom').value=="")
       {
	   if(isValidDate(document.getElementById('datefrom').value))
	  	 {
	       
	  	 }
	  	 else 
	  	 {
	 	  return false; 
	  	 } 
    }
    
    
     	if(!document.getElementById('dateto').value=="")
       		{
        		if(isValidDate(document.getElementById('dateto').value))
	  			{
	    	 
	  			}
	  			else 
	  			{
	 	  			return false; 
	  			} 
	 		}
	if( comparedate(document.getElementById('datefrom').value,document.getElementById('dateto').value))
  	{
	     
	  	}
	  	else 
	  	{
	 	  return false; 
	  	}  
	  		var startdateis = document.getElementById('datefrom').value;
       		var enddateis = document.getElementById('dateto').value;
   			if(startdateis == enddateis)
   			{
      			alert("Startdate and Enddate should be different ");
      			return false;
   			} 	

		
	
  
}
 
function getTn(id){
	radioTnId=id;	
}
function editepForm()
{
	if(!iscorrselected())
	{
	    return false;
	}
	if((document.getElementById('statusep').value!=9) && (document.getElementById('statusep').value!=4) && (document.getElementById('statusep').value!=5) && (document.getElementById('statusep').value!=12))
	{
	alert("Please select the Available/ New/ Onhold/ Incomplete Status");
	return false;
	}
	document.epCommonSearchForm.action= "/exchange/editep.do";
	document.epCommonSearchForm.epid.value=radioTnId;
	document.epCommonSearchForm.method="post";
	document.epCommonSearchForm.submit();
	return true;
}  
function openmatcheppages()
{
	if(!iscorrselected())
	{
	    return false;
	}
	if(document.getElementById('statusep').value!=9)
	{
	alert("Please select the Available Status");
	return false;
	}
	
	document.getElementById('mtch').disabled=true;
	document.epCommonSearchForm.action= "/exchange/matchtn.do";
	document.epCommonSearchForm.epid.value=radioTnId;
	document.epCommonSearchForm.method="post";
	document.epCommonSearchForm.submit();
	return true;
}
function opensearcheppages()
{	
	if(!iscorrselected())
	{
	    return false;
	}
	if(document.getElementById('statusep').value!=9)
	{
	alert("Please select the Available Status");
	return false;
	}
	document.epCommonSearchForm.action= "/exchange/searchtnmatch.do";
	document.epCommonSearchForm.snidRadio.value=radioTnId;
	document.epCommonSearchForm.method="post";
	document.epCommonSearchForm.submit();
	return true;
}
function advertiseEp()
{	
	if(!iscorrselected())
	{
	    return false;
	}
	if(document.getElementById('statusep').value!=9)
	{
	alert("Please select the Available Status");
	return false;
	}
	document.epCommonSearchForm.action= "/exchange/finaladvertisesn.do";
	document.epCommonSearchForm.snidRadio.value=radioTnId;
	document.epCommonSearchForm.method="post";
	document.epCommonSearchForm.submit();
	return true;
}
function reviewEpPage()
{	
	if(!iscorrselected())
	{
	    return false;
	}
	document.epCommonSearchForm.action= "/exchange/reviewsn.do";
	document.epCommonSearchForm.formtype.value="sn";
	document.epCommonSearchForm.epid.value=radioTnId;
	document.epCommonSearchForm.method="post";
	document.epCommonSearchForm.submit();
	return true;
}
function reviewEpLink(id)
{	
	document.epCommonSearchForm.action= "/exchange/reviewsn.do";
	document.epCommonSearchForm.formtype.value="sn";
	document.epCommonSearchForm.epid.value=id;
	document.epCommonSearchForm.method="post";
	document.epCommonSearchForm.submit();
	return true;
}
</script>

<body>
<form name="epCommonSearchForm" id="epCommonSearchForm" method="post" action="/exchange/epcommonsearchresult.do?page=1">

	<input type="hidden" name="tnselectid"/>
	<input type="hidden" name="tn_id"/>
	<input type="hidden" name="snidRadio"/>
	<input type="hidden" name="epid"/>
	<input type="hidden" name="interestFlag" />
	<input type="hidden" name="subscribeFlag" />
	<input type="hidden" name="formtype"/>
	

<table width="100%" >
<tr>
<td id="main-centerdetails" width="100%">

.

</td>
</tr>
</table>
	

	<table class="tableClass" width="100%">
		<tr>
			<th colspan="4">Search EPs
			<img src="/images/information.gif" 
					onmouseover="AiesecToolTip( 'Welcome to the TN Menu!  This menu consists of tools to support you in managing your TNs.

Which tools are in this menu?

My EP Forms - This shows you all the of the EP forms for which YOU are the EP Manager.

Add EP Form - This allows you to add EPs and start to support them in finding life-changing experience!
Edit EP Form - This allows you to edit any of the fields in the EP form from the Academic and Working Backgrounds to Languages

Review EP Form - This allows you to change that Status of your EP forms.

Find a Suitable TN - This allows you to search and select an EP you are managing and Find a Suitable TN for that EP.

Search TNs Database - You can use this to search through the TNs database based on the critieria you select for the search.

Advertise EP - Use this tool to Advertise your EP to potential TNs.  If you are a TN Manager make sure you check the EPs which are advertised!

EP Match Monitor - Use this tool to tracking the Matching progress of your EP forms.

On this landing page you can directly search for specific EPs based on the status of the EP.  The results displayed will be all of the EPs based on the critieria you specified i.e. Exchange Type.  You can then select the EP and take an action to either Search, Match, Edit, Review, Advertise, or Find a Suitable EP.', 'EP')"/>
			</th>
		</tr>
	</table>
	<table class="tableClass" width="100%">



		<tr>
			<td class="verticalLblheaderClass">Committee<font
				class="mandatory" color="red">*</font></td>
		<td width="70%">
				<table width="100%">

		

		





<script language="javascript" type="text/javascript" src="/scripts/ajaxscript/prototype-1.4.0.js"></script>		
<script>
function getComboListcommitteeId( form, type, isRoleBased ) {

	 new Ajax.Request('epmanagerexchangescope.do?operation=' + type.toLowerCase() + 'List&isRoleBased=' + isRoleBased + '&isRightMenu=false&committeeName=committeeId&allRequired=true' ,
	 	{
		//parameters: Form.serialize(form.name),
		onSuccess: function(transport) { 
			var response = transport.responseText || "no response text";       
			if( response == 'false' )
				alert('Problem while fetching data');
			else if( response == 'sessionexpire' )
				alert('Your session has expired.');				
			else {
				clearAllcommitteeId( true );
				document.getElementById(type + 'committeeId').innerHTML=response;
			}
		} 
		});	 
}
 
function clearAllRadiocommitteeId( isClearAll ) {
 
 	if( document.getElementById('GLOBALcommitteeId') != null ){
 	
		document.getElementById('GLOBALcommitteeId').innerHTML = '';
		document.getElementById('GLOBALexchangeScope').checked=false;
		
	}
	if( document.getElementById('REGIONALcommitteeId') != null ){
		document.getElementById('REGIONALcommitteeId').innerHTML = '';
		document.getElementById('REGIONALexchangeScope').checked=false;
	}
	
	if( document.getElementById('NATIONALcommitteeId') != null ){
		document.getElementById('NATIONALcommitteeId').innerHTML = '';
		document.getElementById('NATIONALexchangeScope').checked=false;
	}
	if( isClearAll ) { 
		if( document.getElementById('LOCALcommitteeId') != null ){
			document.getElementById('LOCALcommitteeId').innerHTML = '';
			document.getElementById('LOCALexchangeScope').checked=false;
		}
	}
	if( document.getElementById('LOCALcommitteeIdlist') != null ){
		document.getElementById('LOCALcommitteeIdlist').innerHTML = '';
 		document.getElementById('LOCALexchangeScope').checked=false;
 	}
 	
 	
 	
 }


function clearAllcommitteeId( isClearAll ) {
	if( document.getElementById('GLOBALcommitteeId') != null )
		document.getElementById('GLOBALcommitteeId').innerHTML = '';
	if( document.getElementById('REGIONALcommitteeId') != null )
		document.getElementById('REGIONALcommitteeId').innerHTML = '';
	if( document.getElementById('NATIONALcommitteeId') != null )
		document.getElementById('NATIONALcommitteeId').innerHTML = '';
	if( isClearAll ) {
		if( document.getElementById('LOCALcommitteeId') != null )
			document.getElementById('LOCALcommitteeId').innerHTML = '';
	}
	if( document.getElementById('LOCALcommitteeIdlist') != null )
		document.getElementById('LOCALcommitteeIdlist').innerHTML = '';
}

function getLcCommiteeListcommitteeId(form, mcId, type) {

	 new Ajax.Request('epmanagerexchangescope.do?operation=lcCommiteeList&memcommittee='+ mcId + '&isRightMenu=false&committeeName=committeeId&isRoleBased=true&allRequired=true',
	 	{
		//parameters: Form.serialize(form.name),
		onSuccess: function(transport) { 
			var response = transport.responseText || "no response text";       
			if( response == 'false' )
				alert('Problem while fetching data');
			else if( response == 'sessionexpire' )
					alert('Your session has expired.');				
			else {
				clearAllcommitteeId( false );
				document.getElementById(type).innerHTML='
' + response;
			}
		} 
		});	 
}

function validateCommitteeCmbexchangeScope() {
 	var global = document.getElementById('GLOBALexchangeScope');
 	var regional = document.getElementById('REGIONALexchangeScope');
 	var national = document.getElementById('NATIONALexchangeScope');
 	var local = document.getElementById('LOCALexchangeScope');
 	
 	
 	var generic = null;
 	
 	
 	
 	if((global != null && global.checked ) || (regional != null && regional.checked ) || (national != null && national.checked )
 		|| (local != null && local.checked )  ) {
 		
 		if( regional != null && regional.checked ) {
 			var gn  = document.getElementById('committeeId');
			if( gn.value == '0' ) {
				alert('Please select GN');
				return false; 
			}
 		}
 		
 		if( national != null && national.checked ) {
 			var mc  = document.getElementById('committeeId');
			if( mc.selectedIndex == '0' ) {
				alert('Please select MC');
				return false;
			}
 		}
		if( document.getElementById('mccommiteecommitteeId') != null ) {
			var mccommittee  = document.getElementById('mccommiteecommitteeId');
			if( mccommittee.selectedIndex == '0' ) {
				alert('Please select MC');
				return false;
			}
			if( document.getElementById('committeeId') != null ) {
				var lc  = document.getElementById('committeeId');
				if( lc.selectedIndex == '0' ) {
					alert('Please select LC');
					return false;
				}
			}
		}
	} else  {
		alert('Please select atleast one committee.');
		return false;
	}

	return true;
	

}
function validateCommitteeCmb() {
 	var global = document.getElementById('GLOBALexchangeScope');
 	var regional = document.getElementById('REGIONALexchangeScope');
 	var national = document.getElementById('NATIONALexchangeScope');
 	var local = document.getElementById('LOCALexchangeScope');
 	
 	if((global != null && global.checked ) || (regional != null && regional.checked ) || (national != null && national.checked )
 		|| (local != null && local.checked ) ) {
 		if( national != null && national.checked ) {
 			var mc  = document.getElementById('committeeId');
			if( mc.selectedIndex == '0' ) {
				alert('Please select MC');
				return false;
			}
 		}
		if( document.getElementById('mccommiteecommitteeId') != null ) {
			var mccommittee  = document.getElementById('mccommiteecommitteeId');
			if( mccommittee.selectedIndex == '0' ) {
				alert('Please select MC');
				return false;
			}
			if( document.getElementById('committeeId') != null ) {
				var lc  = document.getElementById('committeeId');
				if( lc.selectedIndex == '0' ) {
				alert('Please select LC');
					return false;
				}
			}
		}
	} else  {
		alert('Please select atleast one committee.');
		return false;
	}

	return true;
	

}


function validateCmb() {
 		var national = document.getElementById('NATIONALexchangeScope');
 		if( national != null && national.checked ) {
 			var mc  = document.getElementById('committeeId');
			if( mc.selectedIndex == '0' ) {
				alert('Please select MC');
				return false;
			}
 		}

		if( document.getElementById('mccommiteecommitteeId') != null ) {
			var mccommittee  = document.getElementById('mccommiteecommitteeId');
			if( mccommittee.selectedIndex == '0' ) {
				alert('Please select MC');			
				return false;
			}
			if( document.getElementById('committeeId') != null ) {
				var lc  = document.getElementById('committeeId');
				if( lc.selectedIndex == '0' ) {
				alert('Please select LC');			
					return false;
				}
			}
		}
		


	return true;
	

}

</script>





	


 	
	<tr>
		<td width="20%">
			<input type="radio" id = "LOCALexchangeScope" name="exchangeScope" value="4" onclick="getComboListcommitteeId(this.form,'LOCAL','true')" > Local
		</td>
		<td width="80%">
			<span id="LOCALcommitteeId">
			</span>
			<span id="LOCALcommitteeIdlist">
			</span>

			<span id="msg">
			</span>
		</td>
	</tr>		


<script type="text/javascript">

</script>

	

		
	</table></td></tr>

		<tr>
			<td width="30%" class="verticalLblheaderClass">EP Status<font
				class="mandatory" color="red">*</font></td>
			<td width="70%"><select name="statlist" id="statusep" style="overflow: auto;width: 150px"><option value="0" selected="selected">Please Select</option>
				
					
					
					<option value="3">Matched</option>
				
					
					
					<option value="4">New</option>
				
					
					
					<option value="5">On Hold</option>
				
					
					
					<option value="6">Realized</option>
				
					
					
					<option value="7">Rejected</option>
				
					
					
					<option value="9">Available</option>
				
					
					
					<option value="12">Incomplete</option></select></td>
		</tr>

		<tr>
			<td width="30%" class="verticalLblheaderClass">Exchange Type</td>
			<td width="70%"><select name="xlist" style="overflow: auto;width: 150px"><option value="0" selected="selected">Please Select</option>
				
					
					
					<option value="Yo">Development Traineeship</option>
				
					
					
					<option value="Et">Education Traineeship</option>
				
					
					
					<option value="In">Management Traineeship</option>
				
					
					
					<option value="Te">Technical Traineeship</option></select></td>
		</tr>
		<tr>
					
					<logic:equal value="0" property="interested"
						name="epCommonSearchForm">
						
					</logic:equal>
					
					<td width="30%"></td>
					<td width="70%" class="verticalLblheaderClass"><input type="checkbox" name="interested"  /> Interested EP</td>	
		</tr>
		<tr>
					
					<logic:equal value="0" property="subscribe"
						name="epCommonSearchForm">
						
					</logic:equal>
					
					
					<td width="30%"></td>
					<td width="70%" class="verticalLblheaderClass"><input type="checkbox" name="subscribe"  />	Subscribed EP</td>
		</tr>
		
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">





<tr>
	<th colspan="2">Raised Date</th>
</tr>
<tr>
			<td  width="20%" class="verticalLblheaderClass">Date From<font
				class="mandatory">*</font></td>
			<td align="left" width="80%"><input type="text" name="datefrom" size="20" value="10.05.2009" id="datefrom">&nbsp; <a
				href="javascript:NewCal('datefrom','mmddyyyy',false,24,375,500)"
				id="datefromcal" onclick="return true;"> <img
				src="/images/calender/calendar.jpg" width="16" height="16" border="0"
				alt="Pick a date"></a>&nbsp;&nbsp;
				<font class="noteClass">(dd.mm.yyyy)</font>
				</td>

		</tr>
		<tr>
			<td  width="20%" class="verticalLblheaderClass">Date To<font
				class="mandatory">*</font></td>
			<td align="left" width="80%"><input type="text" name="dateto" size="20" value="10.05.2010" id="dateto">&nbsp; <a
				href="javascript:NewCal('dateto','mmddyyyy',false,24,375,500)"
				id="datetocal" onclick="return true"> <img
				src="/images/calender/calendar.jpg" width="16" height="16" border="0"
				alt="Pick a date"></a>&nbsp;&nbsp;
				<font class="noteClass">(dd.mm.yyyy)</font>
				</td>

		</tr>

	</table>
	<table width="100%">
		<tr>
			<td colspan="2" align="center"><input type="submit" name="ok" value="Search" onclick="return searchResultTnCommon();" class="buttonNewInBlue"></td>
		</tr>
	</table>

	

	
</form>
</body>
<script>
		if(document.epCommonSearchForm.selecttn!=null){
			var radioLength = document.epCommonSearchForm.selecttn.length;
	  		for(var indexVar=0;indexVar<radioLength;indexVar++){	
  			if(document.epCommonSearchForm.selecttn[indexVar].checked){
  				document.epCommonSearchForm.selecttn[indexVar].checked=false;
  			}	
  	   	}
	  }
</script>

						<form name="bodyMenuForm" method="post"><input
							type="hidden" name="hitem" value="" /></form>
						</td>
					</tr>
				</table>
				</td>
				<td width="21%">
				



<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<title>Insert title here</title>


<script>
function opensupport()
{
document.getElementById('support_username').value='sergey.krylov@aiesec.net';
document.getElementById('support_firstname').value='Sergey';
document.getElementById('support_lastname').value='Krylov';
document.getElementById('support_country').value='RUSSIAN FEDERATION';
document.getElementById('support_committee').value='AIESEC SARATOV';
document.getElementById('support_xp_stage').value='TR';
document.getElementById('support_page_url').value='http://www.myaiesec.net/exchange/epcommonsearch.do';
window.open('','window','channelmode=yes,menubar=yes,resizable=yes,location=yes,scrollbars=yes,toolbar=yes,status=yes');                  
 document.supportForm.submit();
}

</script>

<form name="supportForm" method="post" target="window" action="http://live.myaiesec.net/support/index.php">
<input type="hidden" name="support_username" id="support_username" >
<input type="hidden" name="support_firstname" id="support_firstname" >
<input type="hidden" name="support_lastname" id="support_lastname" >
<input type="hidden" name="support_country" id="support_country" >
<input type="hidden" name="support_committee" id="support_committee" >
<input type="hidden" name="support_xp_stage" id="support_xp_stage" >
<input type="hidden" name="support_page_url" id="support_page_url" >
&nbsp;<a href="#" onclick="opensupport()" class="rightMenulinkClass"  onmouseover="AiesecToolTip( 'Support', 'Support')"><b>Support</b></a>
</form>

				</td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td colspan="2" valign="bottom" bgcolor="#BFD5EA">






<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<link href="/css/aiesec.css"
	rel="stylesheet" type="text/css">

<script>


function openprivacy()
{


window.open('/privacypolicy.do','PopupPage','width=800,height=600,menubar=no,resizable=yes,location=no,scrollbars=yes,left=200,top=100');
}
function termsofuse()
{
window.open('/termsofuse.do','PopupPage','width=800,height=600,menubar=no,resizable=yes,location=no,scrollbars=yes,left=200,top=100');
}


</script>

<form name="footersubmitForm" method="post" target="window" action="http://live.myaiesec.net/support/index.php">

<table width="100%" id="footer" cellpadding="0" cellspacing="0">
<tr>
<td>
	<table  width="100%" id="footer-graphic"  cellpadding="0" cellspacing="0">
		<tr>
			<td width="40%"><img src="/images/tcs_new_footer_logo.bmp"  /></td>
			<td width="60%">
				<a href="#" class="leftheadermenulinkclass"   onclick="termsofuse()">Terms of Use</a>&nbsp;&nbsp;
				<a href="#" class="leftheadermenulinkclass"   onclick="openprivacy()">Privacy Policy</a>&nbsp;&nbsp;
				<a href="#" class="leftheadermenulinkclass">Copyright @ 2010 AIESEC International</a>
			</td>
		</tr>
	</table>
</td>
</tr>
</table>
</form>
		</td>
	</tr>
</table>


</body>
</html>

[/spoiler]
Страница в opera:щзукф.jpg
Страница та же, но в Internet Explorer(как должна выглядеть):шу.jpg

Я не разработчик данного портала...у меня просто вопрос можно ли оптимизировать подручными средствами отображение страницы в браузере opera

11. May 2010, 03:10:24 (edited)

webrider

10.10.1893 user

Banned user

портянку не смотрел
рекомендую http://pastebin.ru/

Можно попробовать встроенные трюки вроде "маскироваться под ie" в настройках сайта
Новая Opera! Загрузите новый быстрый браузер. Для PC, Mac, и Linux

22. June 2010, 18:17:13

Seregakr

Posts: 20

Не работают...все так же не появляются блоки справа....

Forums » Помощь: вопросы и проблемы » Проблемы с конкретными сайтами