⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 contactsheet_settings.php

📁 php网页设计
💻 PHP
字号:
<?include "include/db.php";include "include/authenticate.php"; include "include/general.php";include('include/collections_functions.php');$collection=getvalescaped("c","");$collectiondata= get_collection($collection);# Include scriptaculous for display options# Also include a couple functions for the Ajax contactsheet update$headerinsert.="<script src=\"js/prototype.js\" type=\"text/javascript\"></script><script src=\"js/scriptaculous.js\" type=\"text/javascript\"></script><script src=\"js/contactsheet.js\" type=\"text/javascript\"></script>";$bodyattribs="onload=\"previewContactSheet();\"";include "include/header.php";?><div class="BasicsBox"><h1><?=$lang["contactsheetconfiguration"]?></h1><p><?=$lang["contactsheetintrotext"]?></p><!-- this is the container for some Ajax fun. The image will go here...--><? if ($contact_sheet_previews==true){?><div style="float:right;padding:15px 30px 15px 0;height:300px;"><img id="previewimage" name="previewimage"/></div><? } ?><!-- each time the form is modified, the variables are sent to contactsheet.php with preview=true contactsheet.php makes just the first page of the pdf (with col size images)  and then thumbnails it for the ajax request. This creates a very small but helpful  preview image that can be judged before initiating a download of sometimes several MB.--><form method=post name="contactsheetform" id="contactsheetform" action="contactsheet.php" <? if ($contact_sheet_previews==true){?> onClick="previewContactSheet();" <?}?> ><input type=hidden name="c" value="<?=$collection?>"><div class="Question"><label><?=$lang["collectionname"]?></label><div class="Fixed"><?=$collectiondata['name']?></div><div class="clearerleft"> </div></div><div class="Question"><label><?=$lang["display"]?></label><select class="shrtwidth" name="sheetstyle" id="sheetstyle" onChange="	if ($('sheetstyle').value=='list')		{		Effect.DropOut('ThumbnailOptions',{duration:0.5});		}	else		{		Effect.Appear('ThumbnailOptions',{duration:0.5});		}""><option value="thumbnails"><?=$lang["thumbnails"]?></option><option value="list"><?=$lang["list"]?></option></select><div class="clearerleft"> </div></div><div class="Question"><label><?=$lang["size"]?></label><select class="shrtwidth" name="size" id="size"><option value="a4">A4 - 210mm x 297mm</option><option value="a3">A3 - 297mm x 420mm</option><option value="letter">US Letter - 8.5" x 11"</option><option value="legal">US Legal - 8.5" x 14"</option><option value="tabloid">US Tabloid - 11" x 17"</option></select><div class="clearerleft"> </div></div><div id="ThumbnailOptions" class="Question"><label><?=$lang["columns"]?></label><select class="shrtwidth" name="columns" id="ThumbnailOptions""><option value=2>2</option><option value=3>3</option><option value=4 selected>4</option><option value=5>5</option><option value=6>6</option><option value=7>7</option></select></div><div class="Question"><label><?=$lang["orientation"]?></label><select class="shrtwidth" name="orientation" id="orientation"><option value="portrait"><?=$lang["portrait"]?></option><option value="landscape"><?=$lang["landscape"]?></option></select><div class="clearerleft"> </div></div><div class="QuestionSubmit"><label for="buttons"> </label>			<input name="save" type="submit" value="&nbsp;&nbsp;<?=$lang["create"]?>&nbsp;&nbsp;" /></div></form></div><?		include "include/footer.php";?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -