-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathviewPDF.php
100 lines (77 loc) · 2.92 KB
/
viewPDF.php
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<?php
/******************************************************************************/
/* Ottoman Turkish project - view documents in multiple columns */
/******************************************************************************/
/* Developed by: Steve Bagwell */
/******************************************************************************/
require "config.php";
require "viewUtils.php";
require "viewScript.php";
$bibleTitleResults = getBibleTitleSqlResults(
mysql_real_escape_string($_GET['iso']));
$viewData = getViewPHPData($bibleTitleResults,
'bibleTitle',
'bookName');
$notationData = $viewData->notnData;
$jsAnnotations = "
annotations = {" .
$notationData->jsAnnotations . "};
";
?>
<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title><?php translate('View documents', $st, 'sys'); ?></title>
<link type="text/css" rel="stylesheet" href="style.css?d=20170401">
</head>
<body class="viewPDF">
<div>
<table>
<tr>
<td class="info">
Bu döküm nihai olmayıp devamlı olarak düzeltilmektedir. <br>
Hata bulursanız lütfen <a href="mailto:[email protected]">[email protected]</a> adresine haber veriniz. <br>
Asıl Osmanlıca sayfaları ve altları çizili kelimelere ait notları <a href="http://www.osmanlicakelam.net">www.osmanlicakelam.net</a> sitesinde görebilirsiniz.
</td>
</tr>
<tr>
<td class="info">
This is a provisional transcription. Corrections are continually made. <br>
If you see any errors please write to
<a href="mailto:[email protected]">[email protected]</a>. <br>
To see the pop-up notes and the original Ottoman Turkish pages go to
<a href="http://www.osmanlicakelam.net">www.osmanlicakelam.net</a>.
</td>
</tr>
<tr><td></td></tr>
<tr>
<td>
<span class="bibleName">
<?php echo($viewData->bibleTitle); ?> <span style="font-size:.8em"><?php echo(date("Y-m-d")); ?></span>
</span><br>
<span class="viewPDFURL">
<?php
$iso = $_GET['iso'];
$st = $_GET['st'];
echo("http://$_SERVER[HTTP_HOST]/viewPDF.php?bibleTitleId=$viewData->bibleTitleId&bookId=$viewData->bookId&iso=$iso&st=$st");
?>
</span>
</td>
</tr>
<tr>
<?php
echo '<td class="bookColumn" id="bookContents">';
echo ' <div id="viewNoNotations" class="viewPDF">' .
$notationData->detail . '</div>';
echo '</td>';
?>
</tr>
</table>
</div>
<script language=JavaScript>
alert("To save as PDF press CTRL-P. \nSelect 'Microsoft Print to PDF' \n" +
"Note: for large books, it can take some time for this process to complete.");
</script>
</body>
</html>