Advertisement
Advertisement
| 04.18.2008 at 05:28AM PDT, ID: 23333916 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: |
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
</script>
<body>
<!--#include file="fpdf.asp"-->
<%
// Creazione dell'oggetto
pdf=new FPDF();
// Ridefinizione delle funzioni
pdf.Header=function Header()
{
this.Image('flyerbackground.jpg',2,2,206);
this.SetFont('Arial','B',15);
this.Cell(1);
// this.Cell(30,10,'Title',1,0,'C');
this.Ln(1);
}
//pdf.Footer=function Footer()
//{
// this.SetY(-15);
//this.SetFont('Arial','I',8);
//this.Cell(0,10,'Page '+ this.PageNo()+ '/{nb}',0,0,'C');
//}
// Main
pdf.CreatePDF();pdf.SetPath("fpdf/");pdf.Open();
pdf.AddPage();
pdf.SetFont('','',30);
pdf.Cell(85);
pdf.Cell(110,22, title ,0,1,"C");
pdf.SetFont('','',22);
pdf.Cell(85);
pdf.Cell(110,9,"This is Line 1",0,1,"C");
pdf.Cell(85);
pdf.Cell(110,9,"This is Line 2",0,1,"C");
pdf.Cell(85);
pdf.Cell(110,9,"This is Line 3",0,1,"C");
pdf.Cell(85);
pdf.Cell(110,9,"This is Line 4",0,1,"C");
pdf.Cell(85);
pdf.Cell(110,9,"This is Line 5",0,1,"C");
pdf.Cell(85);
pdf.Cell(110,9,"This is Line 6",0,1,"C");
pdf.Cell(85);
pdf.Cell(110,9,"This is Line 7",0,1,"C");
pdf.Cell(85);
pdf.Cell(110,9,"This is Line 8",0,1,"C");
pdf.Cell(85);
pdf.Cell(110,9,"This is Line 9",0,1,"C");
pdf.Cell(85);
pdf.Cell(110,9,"This is Line 10",0,1,"C");
pdf.Cell(85);
pdf.Cell(110,9,"This is Line 11",0,1,"C");
pdf.Cell(85);
pdf.Cell(110,9,"This is Line 12",0,1,"C");
pdf.Image('flyerbackground.jpg',105,200,50);
pdf.Output();
%>
</body>
</html>
|