06.08.2008, 17:30
(Dieser Beitrag wurde zuletzt bearbeitet: 06.08.2008, 17:32 von master_of-games.)
Bittesehr:
Code:
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<script type="text/javascript" src="jscripts/prototype.lite.js?ver=1212"></script>
<script type="text/javascript" src="jscripts/moo.ajax.js?ver=1212"></script>
<script type="text/javascript" src="jscripts/general.js?ver=1212"></script>
<script type="text/javascript" src="jscripts/popup_menu.js?ver=1212"></script>
{$stylesheets}
<script language="Javascript" type="text/javascript">
<!--
var my_post_key = '{$mybb->post_code}';
var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var newpm_prompt = "{$lang->newpm_prompt}";
var deleteevent_confirm = "{$lang->deleteevent_confirm}";
var removeattach_confirm = "{$lang->removeattach_confirm}";
var loading_text = '{$lang->ajax_loading}';
var saving_changes = '{$lang->saving_changes}';
// -->
</script>
<script language="javascript" type="text/javascript">
function thxFunction(uid,puid,pid,tid){
var ajaxRequest; // The variable that makes Ajax possible!
try{
// Opera 8.0+, Firefox, Safari
ajaxRequest = new XMLHttpRequest();
} catch (e){
// Internet Explorer Browsers
try{
ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try{
ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e){
// Something went wrong
alert("Ajax request was not established!");
return false;
}
}
}
// Create a function that will receive data sent from the server
var txDisp = "displayThx" + pid + tid;
var trDisp = "displayThxtr" + pid + tid;
var ajaxDisplay = getbyID(txDisp);
ajaxRequest.onreadystatechange = function()
{
if(ajaxRequest.readyState == 4)
{
getbyID(trDisp).style.display= '';
ajaxDisplay.innerHTML = ajaxRequest.responseText;
}
else
{
ajaxDisplay.innerHTML = '<div><img src="./images/spinner.gif" /></div>';
}
}
var queryString = "&uid=" + uid + "&adduid=" + puid + "&pid=" + pid + "&tid=" + tid;
ajaxRequest.open("GET", "xmlhttp.php?action=thankyou" + queryString, true);
ajaxRequest.send(null);
}
function getbyID(id)
{
var box= '';
if(document.all && !document.getElementById)
{
return box = document.all.id;
}
else if(document.getElementById)
{
return box = document.getElementById(id);
}
else
{
return box = document.layers[id];
}
}
function expandCollapse(id)
{
var check = id.split('_');
var div = getbyID(id);
if(check[2] == 'e')
{
if(div && div.style)
{
div.style.display = '';
getbyID('expcol_'+id).href = getbyID('expcol_'+id).href.replace('_e', '_c');
getbyID('expcol_'+id).id = getbyID('expcol_'+id).id.replace('_e', '_c');
div.id = div.id.replace('_e', '_c');
}
}
else
{
if(div && div.style)
{
div.style.display = 'none';
getbyID('expcol_'+id).href = getbyID('expcol_'+id).href.replace('_c', '_e');
getbyID('expcol_'+id).id = getbyID('expcol_'+id).id.replace('_c', '_e');
div.id = div.id.replace('_c', '_e');
}
}
}
</script>
{$newpmmsg}