annotate e2gallerypro/e2upload/outputxml.php @ 23:dde7c215204f judyates

change email address.
author Robert McIntyre <rlm@mit.edu>
date Sat, 19 Jul 2014 14:33:53 -0400
parents 3f6b44aa6b35
children
rev   line source
rlm@3 1 <?php include('../e2config.php'); include ("password_protect.php"); ?>
rlm@3 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
rlm@3 3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
rlm@3 4 <html xmlns="http://www.w3.org/1999/xhtml">
rlm@3 5 <head>
rlm@3 6 <title>(E)2 Gallery Pro File Manager</title>
rlm@3 7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
rlm@3 8 <link rel="shortcut icon" href="http://e2interactive.com/favicon.ico" />
rlm@3 9 <style type="text/css">
rlm@3 10 body {
rlm@3 11 font-size: 11px;
rlm@3 12 font-family: Tahoma, sans-serif;
rlm@3 13 background: #F1F1F1 url(images/bodybg.png) repeat-x top center;
rlm@3 14 }
rlm@3 15 .dsep{
rlm@3 16 clear:both;
rlm@3 17 border-bottom: dotted 1px #999;
rlm@3 18 margin:20px 0;
rlm@3 19 }
rlm@3 20 #maincontent img{
rlm@3 21 margin: 0 10px 10px;
rlm@3 22 }
rlm@3 23 #container #header {
rlm@3 24 background-image: url(images/adminheader.png);
rlm@3 25 background-repeat: no-repeat;
rlm@3 26 background-position: center top;
rlm@3 27 width:750px;
rlm@3 28 text-align: center;
rlm@3 29 height: 87px;
rlm@3 30 }
rlm@3 31 #container {
rlm@3 32 text-align: center;
rlm@3 33 width: 750px;
rlm@3 34 margin:0 auto;
rlm@3 35 }
rlm@3 36 #container #maincontent {
rlm@3 37 text-align: left;
rlm@3 38 padding: 10px 10px;
rlm@3 39 border: dotted #CCC 1px;
rlm@3 40 -moz-border-radius: 10px;
rlm@3 41 -khtml-border-radius: 10px;
rlm@3 42 -webkit-border-radius: 10px;
rlm@3 43 border-radius: 10px;
rlm@3 44 margin-top: 10px;
rlm@3 45 background: #E1E1E1;
rlm@3 46 }
rlm@3 47 #container #navigation {
rlm@3 48 height: 35px;
rlm@3 49 padding: 0 10px;
rlm@3 50 }
rlm@3 51 #navigation #manage, #navigation #managexml, #navigation #outputxml, #navigation #seegallery {
rlm@3 52 background-image: url(images/tab_bg.png);
rlm@3 53 background-repeat: repeat-x;
rlm@3 54 background-position: center top;
rlm@3 55 height: 19px;
rlm@3 56 float: left;
rlm@3 57 padding: 5px 6px 0;
rlm@3 58 margin: 1px 5px 5px;
rlm@3 59 border-left: solid 1px #CCC;
rlm@3 60 border-right: solid 1px #CCC;
rlm@3 61 border-bottom: solid 1px #CCC;
rlm@3 62 -moz-border-radius: 0 0 5px 5px;
rlm@3 63 -webkit-border-bottom-left-radius: 5px;
rlm@3 64 -webkit-border-bottom-right-radius: 5px;
rlm@3 65 -khtml-border-bottom-left-radius: 5px;
rlm@3 66 -khtml-border-bottom-right-radius: 5px;
rlm@3 67 border-bottom-left-radius: 5px;
rlm@3 68 border-bottom-right-radius: 5px;
rlm@3 69 cursor:pointer;
rlm@3 70 }
rlm@3 71 #navigation #logout{
rlm@3 72 background-image: url(images/tab_bg.png);
rlm@3 73 background-repeat: repeat-x;
rlm@3 74 background-position: center top;
rlm@3 75 height: 19px;
rlm@3 76 float: right;
rlm@3 77 padding: 5px 6px 0;
rlm@3 78 margin: 1px 5px 5px;
rlm@3 79 border-left: solid 1px #CCC;
rlm@3 80 border-right: solid 1px #CCC;
rlm@3 81 border-bottom: solid 1px #CCC;
rlm@3 82 -moz-border-radius: 0 0 5px 5px;
rlm@3 83 -webkit-border-bottom-left-radius: 5px;
rlm@3 84 -webkit-border-bottom-right-radius: 5px;
rlm@3 85 -khtml-border-bottom-left-radius: 5px;
rlm@3 86 -khtml-border-bottom-right-radius: 5px;
rlm@3 87 border-bottom-left-radius: 5px;
rlm@3 88 border-bottom-right-radius: 5px;
rlm@3 89 cursor:pointer;
rlm@3 90 }
rlm@3 91 #navigation a{
rlm@3 92 text-decoration:none;
rlm@3 93 color:#333;
rlm@3 94 }
rlm@3 95 #navigation a:hover{
rlm@3 96 text-decoration:underline;
rlm@3 97 color:#333;
rlm@3 98 }
rlm@3 99 .xmloutput{
rlm@3 100 padding:15px;
rlm@3 101 background: #FFF;
rlm@3 102 margin:10px 3px;
rlm@3 103 }
rlm@3 104 #maincontent .textinput{
rlm@3 105 width:550px;
rlm@3 106 font:16px "Trebuchet MS", Verdana, Arial, sans-serif;
rlm@3 107 }
rlm@3 108 #maincontent .alrignright{
rlm@3 109 float:right;
rlm@3 110 }
rlm@3 111 .floatleft{
rlm@3 112 float:left;
rlm@3 113 padding:0 15px;
rlm@3 114 }
rlm@3 115 .clear{
rlm@3 116 clear:both;
rlm@3 117 }
rlm@3 118 .error{
rlm@3 119 color:#990000;
rlm@3 120 font-size:16px;
rlm@3 121 }
rlm@3 122 </style>
rlm@3 123
rlm@3 124 <link rel="stylesheet" media="all" type="text/css" href="Css/FileManager.css" />
rlm@3 125 <link rel="stylesheet" media="all" type="text/css" href="Css/Additions.css" />
rlm@3 126
rlm@3 127 <script type="text/javascript" src="js/mootools-core.js"></script>
rlm@3 128 <script type="text/javascript" src="js/mootools-more.js"></script>
rlm@3 129
rlm@3 130 <script type="text/javascript" src="Source/FileManager.js"></script>
rlm@3 131 <script type="text/javascript" src="Source/Language/Language.en.js"></script>
rlm@3 132 <script type="text/javascript" src="Source/Language/Language.de.js"></script>
rlm@3 133 <script type="text/javascript" src="Source/Additions.js"></script>
rlm@3 134
rlm@3 135 <script type="text/javascript" src="Source/Uploader/Fx.ProgressBar.js"></script>
rlm@3 136 <script type="text/javascript" src="Source/Uploader/Swiff.Uploader.js"></script>
rlm@3 137
rlm@3 138 <script type="text/javascript" src="Source/Uploader.js"></script>
rlm@3 139
rlm@3 140 <script type="text/javascript">
rlm@3 141 window.addEvent('domready', function(){
rlm@3 142 /* Simple Example */
rlm@3 143 var manager = new FileManager({
rlm@3 144 url: 'manager.php',
rlm@3 145 assetBasePath: 'Assets',
rlm@3 146 language: 'en',
rlm@3 147 uploadAuthData: {session: 'MySessionId'}
rlm@3 148 });
rlm@3 149 $('manage').addEvent('click', manager.show.bind(manager));
rlm@3 150
rlm@3 151 /* XML upload*/
rlm@3 152 var manager = new FileManager({
rlm@3 153 url: 'managerxml.php',
rlm@3 154 assetBasePath: 'Assets',
rlm@3 155 language: 'en',
rlm@3 156 uploadAuthData: {session: 'MySessionId'}
rlm@3 157 });
rlm@3 158 $('managexml').addEvent('click', manager.show.bind(manager));
rlm@3 159
rlm@3 160 });
rlm@3 161 </script>
rlm@3 162 </head>
rlm@3 163 <body>
rlm@3 164 <div id="container">
rlm@3 165 <a href="index.php"><div id="header"></div></a>
rlm@3 166 <div id="navigation">
rlm@3 167 <div id="manage">Upload/Manage Images</div>
rlm@3 168 <div id="managexml">Upload/Edit XML</div>
rlm@3 169 <a href="outputxml.php"><div id="outputxml">Output XML</div></a>
rlm@3 170 <a href="../"><div id="seegallery">See Gallery</div></a>
rlm@3 171 <a href="?logout=1"><div id="logout">Log Out</div></a>
rlm@3 172 </div>
rlm@3 173 <div id="maincontent">
rlm@3 174 <a href="xml/e2galleryproXMLsample.xml" class="alrignright">Download XML Sample File</a>
rlm@3 175 <h2>Output XML for Image Gallery</h2>
rlm@3 176 Create the xml for the image inside which folder? Set the folder to look at to create the XML automagically.
rlm@3 177 <br />
rlm@3 178 <br />
rlm@3 179 Default file paths are:<br />
rlm@3 180 <?php
rlm@3 181 function rp($path) {
rlm@3 182 $out=array();
rlm@3 183 foreach(explode('/', $path) as $i=>$fold){
rlm@3 184 if ($fold=='' || $fold=='.') continue;
rlm@3 185 if ($fold=='..' && $i>0 && end($out)!='..') array_pop($out);
rlm@3 186 else $out[]= $fold;
rlm@3 187 } return ($path{0}=='/'?'/':'').join('/', $out);
rlm@3 188 }
rlm@3 189 ?>
rlm@3 190 <strong>Gallery Path:</strong> Galleries/gallery1/
rlm@3 191 <br />
rlm@3 192 <strong>Large Path:</strong> Galleries/gallery1/large/
rlm@3 193 <br />
rlm@3 194 <strong>Thumbnail Path:</strong> Galleries/gallery1/thumbs/
rlm@3 195 <br /><br />
rlm@3 196 <?php
rlm@3 197
rlm@3 198 function getImages($path, $thumbPath) {
rlm@3 199
rlm@3 200 $files = array();
rlm@3 201 $fileNames = array();
rlm@3 202 $i = 0;
rlm@3 203 $errorMessage='';
rlm@3 204 if (is_dir($path)) {
rlm@3 205 if ($dh = opendir($path)) {
rlm@3 206 while (($file = readdir($dh)) !== false) {
rlm@3 207 if ($file == "." || $file == ".." || $file == ".DS_Store") continue;
rlm@3 208 $fullpath = $path . "/" . $file;
rlm@3 209 $fkey = strtolower($file);
rlm@3 210 while (array_key_exists($fkey,$fileNames)) $fkey .= " ";
rlm@3 211 $a = stat($fullpath);
rlm@3 212 $files[$fkey]['size'] = $a['size'];
rlm@3 213 if ($a['size'] == 0) $files[$fkey]['sizetext'] = "-";
rlm@3 214 else if ($a['size'] > 1024) $files[$fkey]['sizetext'] = (ceil($a['size']/1024*100)/100) . " K";
rlm@3 215 else if ($a['size'] > 1024*1024) $files[$fkey]['sizetext'] = (ceil($a['size']/(1024*1024)*100)/100) . " Mb";
rlm@3 216 else $files[$fkey]['sizetext'] = $a['size'] . " bytes";
rlm@3 217 $files[$fkey]['name'] = $file;
rlm@3 218 $files[$fkey]['type'] = filetype($fullpath);
rlm@3 219 $fileNames[$i++] = $fkey;
rlm@3 220 }
rlm@3 221 closedir($dh);
rlm@3 222 } else {$errorMessage= true; echo "<strong class='error'>Cannot open directory: $path | Fill out a valid Gallery Path</strong>";}
rlm@3 223 } else {$errorMessage= true; echo "<strong class='error'>Path is not a directory: $path | Fill out a valid Gallery Path</strong>";}
rlm@3 224 sort($fileNames,SORT_STRING);
rlm@3 225 $sortedFiles = array();
rlm@3 226 $i = 0;
rlm@3 227 $photos = array();
rlm@3 228 $relativePath = rp( dirname($_SERVER['PHP_SELF']) );
rlm@3 229 if($errorMessage != true){
rlm@3 230 foreach($fileNames as $f) $sortedFiles[$i++] = $files[$f];
rlm@3 231
rlm@3 232
rlm@3 233 echo'Copy the below XML and create your XML file and upload it via the Upload XML button above:';
rlm@3 234 echo'<a href="outputxml.php" class="alrignright">Reset Output</a><div class="clear"></div>';
rlm@3 235 echo '<div class="xmloutput">';
rlm@3 236 echo'&lt;gallery&gt;<br />';
rlm@3 237 echo'&nbsp;&nbsp;&nbsp;&nbsp;&lt;title&gt;'.$_GET['gallerytitle'].'&lt;/title&gt;<br />';
rlm@3 238 echo'&nbsp;&nbsp;&nbsp;&nbsp;&lt;description&gt;'.$_GET['galleryDescription'].'&lt;/description&gt;<br />';
rlm@3 239 echo'&nbsp;&nbsp;&nbsp;&nbsp;&lt;gallerypath&gt;'.$relativePath.'/'.$_GET['gallerypath'].'&lt;/gallerypath&gt; <br />';
rlm@3 240 echo'&nbsp;&nbsp;&nbsp;&nbsp;&lt;largeimgpath&gt;'.$relativePath.'/'.$_GET['largepath'].'&lt;/largeimgpath&gt;<br />';
rlm@3 241 echo'&nbsp;&nbsp;&nbsp;&nbsp;&lt;thumbpath&gt;'.$relativePath.'/'.$_GET['thumbpath'].'&lt;/thumbpath&gt;<br />';
rlm@3 242 echo'&nbsp;&nbsp;&nbsp;&nbsp;&lt;mainthumb&gt;'.$relativePath.'/'.$_GET['gallerypath'].'&lt;/mainthumb&gt;<br />';
rlm@3 243 echo'&nbsp;&nbsp;&nbsp;&nbsp;&lt;mainthumbsrc&gt;mainthumb.jpg&lt;/mainthumbsrc&gt;<br />';
rlm@3 244 $j = 0;
rlm@3 245
rlm@3 246 foreach ($sortedFiles as $file) {
rlm@3 247
rlm@3 248 if($file['type']!='dir'&& $file['name']!='mainthumb.jpg'){
rlm@3 249 // get image sizes
rlm@3 250 list($width, $height, $type, $attr) = getimagesize($path."/".$file['name'], $info);
rlm@3 251 $size = $file['sizetext'];
rlm@3 252 if(isset($info['APP13'])){
rlm@3 253 $iptc = iptcparse($info['APP13']);
rlm@3 254 $title = $iptc['2#005'][0];
rlm@3 255 if(isset($iptc['2#120'][0])){
rlm@3 256 $description = $iptc['2#120'][0];
rlm@3 257 $description = str_replace("\r", "<br/>", $description);
rlm@3 258 $description = addslashes($description);
rlm@3 259 }
rlm@3 260 if(isset($iptc['2#025'][0])){
rlm@3 261 $keywords = $iptc['2#025'][0];
rlm@3 262 }
rlm@3 263 $author = $iptc['2#080'][0];
rlm@3 264 $copyright = $iptc['2#116'][0];
rlm@3 265
rlm@3 266 }else if(isset($info['APP0']) && !isset($info['APP13'])){
rlm@3 267 $iptc = iptcparse($info['APP0']);
rlm@3 268 $title = $iptc['2#005'][0];
rlm@3 269 $description = $iptc['2#120'][0];
rlm@3 270 $description = str_replace("\r", "<br/>", $description);
rlm@3 271 $description = addslashes($description);
rlm@3 272 $keywords = $iptc['2#025'][0];
rlm@3 273 $author = $iptc['2#080'][0];
rlm@3 274 $copyright = $iptc['2#116'][0];
rlm@3 275 }else{
rlm@3 276 $title = '';
rlm@3 277 $description = '';
rlm@3 278 $description = '';
rlm@3 279 $keywords = '';
rlm@3 280 $author = '';
rlm@3 281 $copyright = '';
rlm@3 282 }
rlm@3 283
rlm@3 284
rlm@3 285 array_push($photos, $width);
rlm@3 286 array_push($photos, $height);
rlm@3 287
rlm@3 288 //echo'<image Thumb="galleries/'.$thumbePath.'/thumbs/'.$file[name].'" Large="galleries/'.$path."/".$file[name].'" Caption="'.$title.'" Colour="000000">';
rlm@3 289 //'<copy><![CDATA['.$title.']]></copy>';
rlm@3 290 //echo'</image>';
rlm@3 291
rlm@3 292 echo'&nbsp;&nbsp;&nbsp;&nbsp;&lt;item type="image"&gt;<br />';
rlm@3 293 echo'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;title&gt;'.$title.'&lt;/title&gt;<br />';
rlm@3 294 echo'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;author&gt;'.$author.'&lt;/author&gt;<br />';
rlm@3 295 echo'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;copyright&gt;'.$copyright.'&lt;/copyright&gt;<br />';
rlm@3 296 echo'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;description&gt;'.$description.'&lt;/description&gt;<br />';
rlm@3 297 echo'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;src&gt;'.$file['name'].'&lt;/src&gt;<br />';
rlm@3 298 echo'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;demensions width="'.$width.'" height="'.$height.'" /&gt;<br />';
rlm@3 299 if(isset($_GET['largepath'])){
rlm@3 300 $largePath = $_GET['largepath'];
rlm@3 301 if(is_file($largePath."/".$file['name'])){
rlm@3 302 list($largeWidth, $largeHeight, $largeType, $largeAttr) = getimagesize($largePath."/".$file['name'], $info);
rlm@3 303 echo'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;large width="'.$largeWidth.'" height="'.$largeHeight.'" /&gt;<br />';
rlm@3 304 }
rlm@3 305 }
rlm@3 306 if(isset($_GET['showforsale'])){
rlm@3 307 $showforsale = $_GET['showforsale'];
rlm@3 308 if($showforsale=='true'){
rlm@3 309 if($_GET['currency']=="USD"){$currencySymbol='$';}else if($_GET['currency']=="EURO"){$currencySymbol='&euro;';}
rlm@3 310 echo'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;sellprint type="'.$_GET['checkouttype'].'" currency="'.$_GET['currency'].'" currencysymbol="'.$currencySymbol.'"&gt;<br />';
rlm@3 311 echo'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;price size="8x10"&gt;15&lt;/price&gt;<br />';
rlm@3 312 echo'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;price size="11x14"&gt;25&lt;/price&gt;<br />';
rlm@3 313 echo'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;price size="16x20"&gt;55&lt;/price&gt;<br />';
rlm@3 314 echo'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;price size="20x24"&gt;65&lt;/price&gt;<br />';
rlm@3 315 echo'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/sellprint&gt;<br />';
rlm@3 316 }
rlm@3 317 echo'&nbsp;&nbsp;&nbsp;&nbsp;&lt;/item&gt;<br />';
rlm@3 318
rlm@3 319 $j++;
rlm@3 320 }
rlm@3 321 }
rlm@3 322
rlm@3 323 }
rlm@3 324 echo'&nbsp;&nbsp;&nbsp;&nbsp;&lt;totalitems&gt;'.$j.'&lt;/totalitems&gt;<br />';
rlm@3 325 echo'&lt;/gallery&gt;<br />';
rlm@3 326 echo'</div>';
rlm@3 327 }
rlm@3 328 }
rlm@3 329 if(isset($_GET['gallerypath'])&&isset($_GET['thumbpath'])){
rlm@3 330 getImages($_GET['gallerypath'], $_GET['thumbpath'] );
rlm@3 331 ?>
rlm@3 332 <a href="outputxml.php" class="alrignright">Reset Output</a><div class="clear"></div>
rlm@3 333 <h2>Create New Gallery XML:</h2><br />
rlm@3 334 <br />
rlm@3 335 <form name="form1" method="get" action="<?php echo $_SERVER['PHP_SELF'] ;?>">
rlm@3 336 <label id="gallerytitle"><strong>Gallery Title</strong></label>
rlm@3 337 <br />
rlm@3 338 <input type="text" class="textinput" name="gallerytitle" value="" />
rlm@3 339 <br /><br />
rlm@3 340 <label id="galleryDescription"><strong>Gallery Description</strong> <small>(No Special Characters)</small></label>
rlm@3 341 <br />
rlm@3 342 <textarea name="galleryDescription" rows="4" class="textinput"></textarea>
rlm@3 343 <br /><br />
rlm@3 344 <label id="gallerypath"><strong>Gallery Path</strong></label>
rlm@3 345 <br />
rlm@3 346 <input type="text" class="textinput" name="gallerypath" value="Galleries/gallery1/" />
rlm@3 347 <br /><br />
rlm@3 348 <label id="thumbpath"><strong>Thumbnail Path</strong></label>
rlm@3 349 <br />
rlm@3 350 <input type="text" class="textinput" name="thumbpath" value="Galleries/gallery1/thumbs/" />
rlm@3 351 <br /> <br />
rlm@3 352 <label id="largepath"><strong>Large Path</strong></label>
rlm@3 353 <br />
rlm@3 354 <input type="text" class="textinput" name="largepath" value="Galleries/gallery1/large/" /> <br />
rlm@3 355 <small>(Fill out path even if you uploaded no large images it will detect that they're not there. unless there is no large folder)</small>
rlm@3 356 <br /> <br />
rlm@3 357 <div class="floatleft"><h3>Sell Prints?</h3>
rlm@3 358 <input type="radio" name="showforsale" id="true" value="true" align="absmiddle" /><label for="true">Yes</label> <input type="radio" id="false" name="showforsale" value="false" align="absmiddle" /><label for="false">No</label>
rlm@3 359 <br /> <br /></div>
rlm@3 360 <div class="floatleft"><h3>Checkout Type</h3>
rlm@3 361 <input type="radio" value="google" name="checkouttype" id="google" align="absmiddle" /><label for="google">Google Checkout</label> <input type="radio" id="paypal" value="paypal" name="checkouttype" align="absmiddle" /><label for="paypal">Paypal</label>
rlm@3 362 <br /> <br /></div>
rlm@3 363
rlm@3 364 <div class="floatleft"><h3>Currency:</h3>
rlm@3 365 <input type="radio" value="USD" name="currency" id="USD" align="absmiddle" /><label for="USD">USD</label> <input type="radio" id="EURO" value="EURO" name="currency" align="absmiddle" /><label for="EURO">EURO</label>
rlm@3 366 <br /> <br /></div>
rlm@3 367 <div class="clear"></div>
rlm@3 368 <input type="submit" name="submit" value="Output XML">
rlm@3 369 </form>
rlm@3 370 <br />
rlm@3 371 <?php
rlm@3 372 }else{
rlm@3 373 ?>
rlm@3 374 <form name="form1" method="get" action="<?php echo $_SERVER['PHP_SELF'] ;?>">
rlm@3 375 <label id="gallerytitle"><strong>Gallery Title</strong></label>
rlm@3 376 <br />
rlm@3 377 <input type="text" class="textinput" name="gallerytitle" value="" />
rlm@3 378 <br /><br />
rlm@3 379 <label id="galleryDescription"><strong>Gallery Description</strong> <small>(No Special Characters)</small></label>
rlm@3 380 <br />
rlm@3 381 <textarea name="galleryDescription" rows="4" class="textinput"></textarea>
rlm@3 382 <br /><br />
rlm@3 383 <label id="gallerypath"><strong>Gallery Path</strong></label>
rlm@3 384 <br />
rlm@3 385 <input type="text" class="textinput" name="gallerypath" value="Galleries/gallery1/" />
rlm@3 386 <br /><br />
rlm@3 387 <label id="thumbpath"><strong>Thumbnail Path</strong></label>
rlm@3 388 <br />
rlm@3 389 <input type="text" class="textinput" name="thumbpath" value="Galleries/gallery1/thumbs/" />
rlm@3 390 <br /> <br />
rlm@3 391 <label id="largepath"><strong>Large Path</strong></label>
rlm@3 392 <br />
rlm@3 393 <input type="text" class="textinput" name="largepath" value="Galleries/gallery1/large/" /> <br />
rlm@3 394 <small>(Fill out path even if you uploaded no large images it will detect that they're not there. unless there is no large folder)</small>
rlm@3 395 <br /> <br />
rlm@3 396 <div class="floatleft"><h3>Sell Prints?</h3>
rlm@3 397 <input type="radio" name="showforsale" id="true" value="true" align="absmiddle" /><label for="true">Yes</label> <input type="radio" id="false" name="showforsale" value="false" align="absmiddle" /><label for="false">No</label>
rlm@3 398 <br /> <br /></div>
rlm@3 399 <div class="floatleft"><h3>Checkout Type</h3>
rlm@3 400 <input type="radio" value="google" name="checkouttype" id="google" align="absmiddle" /><label for="google">Google Checkout</label> <input type="radio" id="paypal" value="paypal" name="checkouttype" align="absmiddle" /><label for="paypal">Paypal</label>
rlm@3 401 <br /> <br /></div>
rlm@3 402
rlm@3 403 <div class="floatleft"><h3>Currency:</h3>
rlm@3 404 <input type="radio" value="USD" name="currency" id="USD" align="absmiddle" /><label for="USD">USD</label> <input type="radio" id="EURO" value="EURO" name="currency" align="absmiddle" /><label for="EURO">EURO</label>
rlm@3 405 <br /> <br /></div>
rlm@3 406 <div class="clear"></div>
rlm@3 407 <input type="submit" name="submit" value="Output XML">
rlm@3 408 </form>
rlm@3 409 <?php
rlm@3 410 }
rlm@3 411 ?>
rlm@3 412
rlm@3 413
rlm@3 414
rlm@3 415
rlm@3 416 <div class="dsep"></div>
rlm@3 417 </div>
rlm@3 418 </div>
rlm@3 419 </body>
rlm@3 420 </html>