Här är kod:
Kod:
<div id="main"><!-- TinyMCE -->
<script language="javascript" type="text/javascript" src="/html/javascript/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode : "exact",
elements : "homepg_footer",
theme : "advanced",
extended_valid_elements : "a[href|target|name]",
content_css : "/html/css/editorstyle.css",
plugins : "style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
theme_advanced_buttons1_add_before : "forecolor",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
//invalid_elements : "a",
//execcommand_callback : "myCustomExecCommandHandler",
debug : false
});
function fileBrowserCallBack(field_name, url, type, win) {
// This is where you insert your custom filebrowser logic
alert("Example of filebrowser callback: field_name: " + field_name + ", url: " + url + ", type: " + type);
// Insert new URL, this would normaly be done in a popup
win.document.forms[0].elements[field_name].value = "someurl.htm";
}
</script>
<!-- /tinyMCE -->
<h1>Inställningar</h1>
<form action="" method="post">
<div class="fadebox"><div class="inborder">
<h2>God middag Peter Westerlund</h2>
Välj nedan svårighetsgrad på administrationen. Glöm inte att alltid klicka på "Spara" efter du ändrat uppgifter.
<table border="0" cellspacing="0" cellpadding="0" class="table1">
<tr>
<td width="160" align="right">Administrationsläge</td>
<td><input type="radio" name="advanced" value="0" checked="checked" /> Enkelt<br />
<input type="radio" name="advanced" value="1" /> Avancerat</td>
</tr>
</table>
</div></div>
<div class="fadebox"><div class="inborder">
<h2>Hemsidan</h2>
Här kan du ändra uppgifter som syns på hemsidan
<table border="0" cellspacing="0" cellpadding="0" class="table1" width="575">
<tr>
<td width="160" align="right">Titelraden</td>
<td><input type="text" name="homepg_title" value="
Hemsida Standard+" style="width: 100%;"></td>
</tr>
<tr>
<td align="right">Sidfoten</td>
<td><textarea name="homepg_footer" rows="5" style="width:100%">
<font color="#999999">Företagsnamn AB</font><br /><span class="highlight"><font color="#404040">Telefon:</font></span> <font color="#999999">+468-8880000<br /></font><span class="highlight"><font color="#404040">E-post:</font></span> <a href="mailto:info@företagsnamn.se"><font color="#999999">info@företagsnamn.se</font></a></textarea></td>
</tr>
</table>
</div></div>
<div class="fadebox">
<div class="inborder">
<table border="0" cellspacing="0" cellpadding="0" class="table1" width="575">
<tr>
<td align="center"><input type="submit" name="save" value="Spara" /></td>
</tr>
</table>
</div></div>
</form>
<div class="fadebox">
<div class="inborder">
<h2>Support</h2>
<table border="0" cellspacing="0" cellpadding="0" class="table1">
<tr>
<td width="160" align="right">Konstruktion</td>
<td><a href="http://www.websitefactory.se/kontakt" target="_blank">www.websitefactory.se/kontakt</a></td>
</tr>
<tr>
<td align="right">Drift</td>
<td><a href="http://www.loopia.se/kontakt" target="_blank">www.loopia.se/kontakt</a></td>
</tr>
</table>
</div>
</div>
css: <link href="/html/css/style.css" rel="stylesheet" type="text/css" />