[ Index ] |
PHP Cross Reference of phpwcms V1.4.3 _r380 (23.11.09) |
[Summary view] [Print] [Text view]
1 <?php 2 /************************************************************************************* 3 Copyright notice 4 5 (c) 2002-2009 Oliver Georgi (oliver@phpwcms.de) // All rights reserved. 6 7 This script is part of PHPWCMS. The PHPWCMS web content management system is 8 free software; you can redistribute it and/or modify it under the terms of 9 the GNU General Public License as published by the Free Software Foundation; 10 either version 2 of the License, or (at your option) any later version. 11 12 The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html 13 A copy is found in the textfile GPL.txt and important notices to the license 14 from the author is found in LICENSE.txt distributed with these scripts. 15 16 This script is distributed in the hope that it will be useful, but WITHOUT ANY 17 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 18 PARTICULAR PURPOSE. See the GNU General Public License for more details. 19 20 This copyright notice MUST APPEAR in all copies of the script! 21 *************************************************************************************/ 22 23 // ---------------------------------------------------------------- 24 // obligate check for phpwcms constants 25 if (!defined('PHPWCMS_ROOT')) { 26 die("You Cannot Access This Script Directly, Have a Nice Day."); 27 } 28 // ---------------------------------------------------------------- 29 30 31 //bid 32 33 if(!isset($content['bid'])) { 34 35 $content['bid']['image_name'] = ''; 36 $content['bid']['image_id'] = ''; 37 $content['bid']['image_width'] = ''; 38 $content['bid']['image_height'] = ''; 39 $content['bid']['image_zoom'] = 0; 40 $content['bid']['start_date'] = ''; 41 $content['bid']['end_date'] = ''; 42 $content['bid']['startbid'] = 0; 43 $content['bid']['nextbidadd'] = 0; 44 $content['bid']['before'] = ''; 45 $content['bid']['after'] = ''; 46 47 $content['bid']['text'] = ''; 48 $content['bid']['form'] = ''; 49 $content['bid']['sent'] = ''; 50 $content['bid']['emailfrom'] = ''; 51 $content['bid']['emailfromname']= ''; 52 $content['bid']['emailmsg'] = ''; 53 $content['bid']['verified'] = ''; 54 $content['bid']['notverified'] = ''; 55 56 57 } 58 59 ?> 60 <tr> 61 <td align="right" class="chatlist"><?php echo $BL['be_cnt_image'] ?>: </td> 62 <td valign="top"><table border="0" cellpadding="0" cellspacing="0" summary=""> 63 <tr> 64 <td><input name="cimage_name" type="text" id="cimage_name" class="f11b" style="width: 200px; color: #727889;" value="<?php echo html_specialchars($content["bid"]["image_name"]) ?>" size="40" onFocus="this.blur()"></td> 65 <td><img src="img/leer.gif" alt="" width="3" height="1"><a href="javascript:;" title="<?php echo $BL['be_cnt_openimagebrowser'] ?>" onclick="tmt_winOpen('filebrowser.php?opt=0&target=nolist','imageBrowser','width=380,height=300,left=8,top=8,scrollbars=yes,resizable=yes',1)"><img src="img/button/open_image_button.gif" alt="" width="20" height="15" border="0"></a></td> 66 <td><img src="img/leer.gif" alt="" width="3" height="1"><a href="javascript:;" alt="<?php echo $BL['be_cnt_delimage'] ?>" onclick="document.articlecontent.cimage_name.value='';document.articlecontent.cimage_id.value='0';this.blur();return false;"><img src="img/button/del_image_button.gif" alt="" width="15" height="15" border="0"></a><input name="cimage_id" type="hidden" value="<?php echo $content["bid"]["image_id"] ?>"></td> 67 </tr> 68 </table></td> 69 </tr> 70 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6"></td></tr> 71 <tr> 72 <td align="right" class="chatlist" valign="top"><img src="img/leer.gif" alt="" width="1" height="14"><?php echo $BL['be_cnt_maxw'] ?>: </td> 73 <td valign="top"><table border="0" cellpadding="0" cellspacing="0" summary=""> 74 <tr> 75 <td><input name="cimage_width" type="text" class="f11b" id="cimage_width" style="width: 50px;" size="3" maxlength="3" onKeyUp="if(!parseInt(this.value)) this.value='';" value="<?php echo $content["bid"]["image_width"] ?>"></td> 76 <td class="chatlist"> <?php echo $BL['be_cnt_maxh'] ?>: </td> 77 <td><input name="cimage_height" type="text" class="f11b" id="cimage_height" style="width: 50px;" size="3" maxlength="3" onKeyUp="if(!parseInt(this.value)) this.value='';" value="<?php echo $content["bid"]["image_height"] ?>"></td> 78 <td class="chatlist"> px </td> 79 <td bgcolor="#E7E8EB"> </td> 80 <td bgcolor="#E7E8EB"><input name="cimage_zoom" type="checkbox" id="cimage_zoom" value="1" <?php is_checked(1, $content["bid"]["image_zoom"]); ?>></td> 81 <td bgcolor="#E7E8EB" class="v10"> <?php echo $BL['be_cnt_enlarge'] ?> </td> 82 <td bgcolor="#E7E8EB"><img src="img/leer.gif" alt="" width="6" height="15"></td> 83 </tr> 84 <?php 85 //show preview of selected image 86 if($content["bid"]["image_name"]) { 87 echo '<tr><td colspan="8"><img src="img/leer.gif" width="6" height="5"></td></tr>'; 88 echo '<tr><td colspan="8">'; 89 echo '<img src="'.$phpwcms["file_tmp"].$phpwcms["dir_thlist"].$content['bid']["image_prev"].'" border="0">'; 90 echo '</td></tr>'; 91 } 92 93 ?> 94 </table></td> 95 </tr> 96 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="8"></td></tr> 97 <tr> 98 <td align="right" class="chatlist"><?php echo $BL['be_article_cnt_start'] ?>: </td> 99 <td><table border="0" cellpadding="0" cellspacing="0" summary=""> 100 <tr> 101 <td><input name="cbid_startdate" type="text" class="f11" id="cbid_startdate" style="width: 130px;" size="19" maxlength="20" value="<?php if($content["bid"]["start_date"]) echo date('Y-m-d H:i:s', $content["bid"]["start_date"]); ?>"></td> 102 <td class="chatlist" width="100" align="right"> <?php echo $BL['be_article_cnt_end'] ?>: </td> 103 <td><input name="cbid_enddate" type="text" class="f11" id="cbid_enddate" style="width: 130px;" size="19" maxlength="20" value="<?php if($content["bid"]["end_date"]) echo date('Y-m-d H:i:s', $content["bid"]["end_date"]); ?>"></td> 104 </tr> 105 </table></td> 106 </tr> 107 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="5"></td></tr> 108 <tr> 109 <td align="right" class="chatlist"><?php echo $BL['be_cnt_bid_startbid'] ?>: </td> 110 <td><table border="0" cellpadding="0" cellspacing="0" summary=""> 111 <tr> 112 <td><input name="cbid_startbid" type="text" class="f11" id="cbid_startbid" style="width: 130px;" value="<?php echo floatval($content["bid"]["startbid"]) ?>"></td> 113 <td class="chatlist" width="100" align="right"> <?php echo $BL['be_cnt_bid_nextbidadd'] ?>: </td> 114 <td><input name="cbid_nextbidadd" type="text" class="f11" id="cbid_nextbidadd" style="width: 130px;" value="<?php echo floatval($content["bid"]["nextbidadd"]) ?>"></td> 115 </tr> 116 </table></td> 117 </tr> 118 119 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="10"></td></tr> 120 <tr><td colspan="2"><img src="img/lines/l538_70.gif" alt="" width="538" height="1"></td></tr> 121 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6"></td></tr> 122 <tr> 123 <td align="right" class="chatlist" valign="top"><img src="img/leer.gif" alt="" width="1" height="15"><?php echo $BL['be_cnt_guestbook_before'] ?>: </td> 124 <td valign="top"><textarea name="cbid_before" cols="40" rows="3" class="code" id="cbid_before" style="width: 440px"><?php echo html_specialchars($content["bid"]["before"]) ?></textarea></td> 125 </tr> 126 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="4"></td></tr> 127 <tr> 128 <td align="right" class="chatlist"> </td> 129 <td class="chatlist">###BID_IMG:ALIGN###, ###BID_START:FORMAT###, ###BID_END:FORMAT###, ###START_BID###, ###BID_CURRENT###, ###BID_FORM###</td> 130 </tr> 131 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="1"></td></tr> 132 <tr> 133 <td align="right" class="chatlist" valign="top"><img src="img/leer.gif" alt="" width="1" height="15"><?php echo $BL['be_cnt_bid_bidtext'] ?>: </td> 134 <td valign="top"><textarea name="cbid_text" cols="40" rows="10" class="code" id="cbid_text" style="width: 440px"><?php echo html_specialchars($content["bid"]["text"]) ?></textarea></td> 135 </tr> 136 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="4"></td></tr> 137 <tr> 138 <td align="right" class="chatlist"> </td> 139 <td class="chatlist">###BID_EMAIL###, ###BID_AMOUNT###, <!--FORM_ERROR_START--><!--FORM_ERROR_END--></td> 140 </tr> 141 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="1"></td></tr> 142 <tr> 143 <td align="right" class="chatlist" valign="top"><img src="img/leer.gif" alt="" width="1" height="15"><?php echo $BL['be_cnt_ecardform'] ?>: </td> 144 <td valign="top"><textarea name="cbid_form" cols="40" rows="5" class="code" id="cbid_form" style="width: 440px"><?php echo html_specialchars($content["bid"]["form"]) ?></textarea></td> 145 </tr> 146 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="2"></td></tr> 147 <tr> 148 <td align="right" class="chatlist" valign="top"><img src="img/leer.gif" alt="" width="1" height="15"><?php echo $BL['be_cnt_bid_sendtext'] ?>: </td> 149 <td valign="top"><textarea name="cbid_sent" cols="40" rows="3" class="code" id="cbid_sent" style="width: 440px"><?php echo html_specialchars($content["bid"]["sent"]) ?></textarea></td> 150 </tr> 151 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6"></td></tr> 152 <tr><td colspan="2"><img src="img/lines/l538_70.gif" alt="" width="538" height="1"></td></tr> 153 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6"></td></tr> 154 155 <tr> 156 <td align="right" class="chatlist"><?php echo $BL['be_newsletter_fromemail'] ?>: </td> 157 <td><input name="cbid_emailfrom" type="text" class="code" id="cbid_emailfrom" style="width: 440px" value="<?php echo html_specialchars($content["bid"]["emailfrom"]) ?>" size="40"></td> 158 </tr> 159 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="2"></td></tr> 160 <tr> 161 <td align="right" class="chatlist"><?php echo $BL['be_newsletter_fromname'] ?>: </td> 162 <td><input name="cbid_emailfromname" type="text" class="code" id="cbid_emailfromname" style="width: 440px" value="<?php echo html_specialchars($content["bid"]["emailfromname"]) ?>" size="40"></td> 163 </tr> 164 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="2"></td></tr> 165 <tr> 166 <td align="right" class="chatlist"> </td> 167 <td class="chatlist">###START_BID###, ###VERIFY_LINK###, ###DELETE_LINK###, ###EMAIL###, ###BID###, ###BID_START:FORMAT###, ###BID_END:FORMAT###, ###BID_URL###</td> 168 </tr> 169 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="1"></td></tr> 170 <tr> 171 <td align="right" class="chatlist" valign="top"><img src="img/leer.gif" alt="" width="1" height="15"><?php echo $BL['be_cnt_bid_verifyemail'] ?>: </td> 172 <td valign="top"><textarea name="cbid_emailmsg" cols="40" rows="5" class="code" id="cbid_emailmsg" style="width: 440px"><?php echo html_specialchars($content["bid"]["emailmsg"]) ?></textarea></td> 173 </tr> 174 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="2"></td></tr> 175 <tr> 176 <td align="right" class="chatlist" valign="top"><img src="img/leer.gif" alt="" width="1" height="15"><?php echo $BL['be_cnt_bid_verifiedtext'] ?>: </td> 177 <td valign="top"><textarea name="cbid_verified" cols="40" rows="3" class="code" id="cbid_verified" style="width: 440px"><?php echo html_specialchars($content["bid"]["verified"]) ?></textarea></td> 178 </tr> 179 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="2"></td></tr> 180 <tr> 181 <td align="right" class="chatlist" valign="top"><img src="img/leer.gif" alt="" width="1" height="15"><?php echo $BL['be_cnt_bid_errortext'] ?>: </td> 182 <td valign="top"><textarea name="cbid_notverified" cols="40" rows="3" class="code" id="cbid_notverified" style="width: 440px"><?php echo html_specialchars($content["bid"]["notverified"]) ?></textarea></td> 183 </tr> 184 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6"></td></tr> 185 <tr><td colspan="2"><img src="img/lines/l538_70.gif" alt="" width="538" height="1"></td></tr> 186 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6"></td></tr> 187 <tr> 188 <td align="right" class="chatlist" valign="top"><img src="img/leer.gif" alt="" width="1" height="15"><?php echo $BL['be_cnt_guestbook_after'] ?>: </td> 189 <td valign="top"><textarea name="cbid_after" cols="40" rows="3" class="code" id="cbid_after" style="width: 440px"><?php echo html_specialchars($content["bid"]["after"]) ?></textarea></td> 190 </tr> 191 192 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6"></td></tr> 193 <tr><td colspan="2"><img src="img/lines/l538_70.gif" alt="" width="538" height="1"></td></tr> 194 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="10"></td></tr> 195 196 <?php 197 // show possibility to edit guestbook entries 198 // if content part is created 199 if($content["id"]) { 200 ?> 201 <tr> 202 <td align="right" valign="top" class="chatlist"><img src="img/leer.gif" alt="" width="1" height="15"><?php echo $BL['be_cnt_guestbook_edit'] ?>: </td> 203 <td><iframe height="200" width="440" frameborder="0" scrolling="auto" src="include/inc_act/act_bid.php?cid=<?php echo $content["id"] ?>"></iframe></td> 204 </tr> 205 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="10"></td></tr> 206 <tr><td colspan="2"><img src="img/lines/l538_70.gif" alt="" width="538" height="1"></td></tr> 207 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="10"></td></tr> 208 <?php 209 } 210 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Dec 30 05:55:15 2009 | Cross-referenced by PHPXref 0.7 |