Login   Register  
PHP Classes
elePHPant
Icontem

File: template-header.phtml

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Slava Ivanov  >  vCard Class  >  template-header.phtml  >  Download  
File: template-header.phtml
Role: Example script
Content type: text/plain
Description: example application
Class: vCard Class
Class to manipulate with vCard information
Author: By
Last change:
Date: 2003-03-25 18:11
Size: 1,547 bytes
 

Contents

Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
    <title><? echo $title ?></title>
    <link rel="stylesheet" type="text/css" href="vcard.css">
<script language="JavaScript">
<!--
function dosubmit(varact, f)
{
    f.act.value = varact;
    f.submit();
}
function dochecksubmit(varact, f)
{
    var phrase;
    if (varact == "deleteit")
        phrase = "Are you sure you want to delete vCard?";
    if (varact == "cancelit")
        phrase = "Are you sure you want to cancel your changes?";
    if (confirm(phrase)) {
        f.act.value = varact;
        f.action = "index.phtml";
        f.submit();
    }
}
function dosave(varact, f)
{
    if (f.fname.value != "" || f.lname.value != "") {
        f.act.value = varact;
        f.submit();
    } else {
        alert("To save vCard information you MUST complete at least First or Last Name fields on Personal bookmark.");
        dosubmit("personal", f);
    }
}
//-->
</script>

</head>

<body bgcolor="#ffffff" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0"<? if ($onload) echo " onLoad=\"".$onload."\"" ?>>


<table bgcolor="#545454" width="485" cellspacing="0" cellpadding="0" margin="0" border="0" align="center">
<tr>
<td width="259"><b><font face="verdana,arial" size="4" color="#e5e5e5">E-witness Inc.</font></b>&nbsp;</td>
<td align="right"><b><font face="verdana,arial" size="4" color="#e5e5e5"><? echo $title ?></font></b>&nbsp;&nbsp;&nbsp;</td>
</tr>
<tr>
<td colspan="2" bgcolor="#000000"><img src="images/spacer.gif" width="1" height="2"></td>
</tr>
</table>
<br>