function build_levels($struct, $level, $temp_tree, $act_cat_id, $nav_table_struct, $count, $div, $link_to) { // this returns the level structure based on given arrays // it is special for browsing from root levels $nav_table_struct["linkimage_over_js"] = $nav_table_struct['array_struct'][$count]["linkimage_over_js"]; $nav_table_struct["linkimage_norm"] = $nav_table_struct['array_struct'][$count]["linkimage_norm"]; $nav_table_struct["linkimage_over"] = $nav_table_struct['array_struct'][$count]["linkimage_over"]; $nav_table_struct["linkimage_active"] = $nav_table_struct['array_struct'][$count]["linkimage_active"]; $nav_table_struct["row_norm_bgcolor"] = $nav_table_struct['array_struct'][$count]["row_norm_bgcolor"]; $nav_table_struct["row_norm_class"] = $nav_table_struct['array_struct'][$count]["row_norm_class"]; $nav_table_struct["row_over_bgcolor"] = $nav_table_struct['array_struct'][$count]["row_over_bgcolor"]; $nav_table_struct["row_active_bgcolor"] = $nav_table_struct['array_struct'][$count]["row_active_bgcolor"]; $nav_table_struct["row_active_class"] = $nav_table_struct['array_struct'][$count]["row_active_class"]; $nav_table_struct["space_celltop"] = $nav_table_struct['array_struct'][$count]["space_celltop"]; $nav_table_struct["space_cellbottom"] = $nav_table_struct['array_struct'][$count]["space_cellbottom"]; $nav_table_struct["cell_height"] = $nav_table_struct['array_struct'][$count]["cell_height"]; $nav_table_struct["cell_class"] = $nav_table_struct['array_struct'][$count]["cell_class"]; $nav_table_struct["cell_active_height"] = $nav_table_struct['array_struct'][$count]["cell_active_height"]; $nav_table_struct["cell_active_class"] = $nav_table_struct['array_struct'][$count]["cell_active_class"]; $nav_table_struct["link_before"] = $nav_table_struct['array_struct'][$count]["link_before"]; $nav_table_struct["link_after"] = $nav_table_struct['array_struct'][$count]["link_after"]; $nav_table_struct["link_active_before"] = $nav_table_struct['array_struct'][$count]["link_active_before"]; $nav_table_struct["link_active_after"] = $nav_table_struct['array_struct'][$count]["link_active_after"]; $temp_menu = ''; $js = ''; $depth = count($temp_tree) - $div; $current_level = $count; $count++; $depth2 = $depth - $count + 2; $right_cell = ''; $left_cell = ''; $cell_top = ''; $cell_bottom = ''; $space_right = ''; $space_cell = ''; $space_row = ''; $cell_height = $nav_table_struct["cell_height"] ? $nav_table_struct["cell_height"] : 1; if ($nav_table_struct["space_right"]) { $right_cell = "<td width=\"" . $nav_table_struct["space_left"] . "\">"; $right_cell .= spacer($nav_table_struct["space_right"], $cell_height) . "</td>\n"; $space_right = "<td>" . spacer(1, 1) . "</td>"; } if ($nav_table_struct["space_left"]) { $colspan = $count > 1 ? " colspan=\"" . $count . "\"" : ""; $left_cell = "<td width=\"" . $nav_table_struct["space_left"] . "\"" . $colspan . ">"; $left_cell .= spacer($nav_table_struct["space_left"], $cell_height) . "</td>\n"; $space_cell = "<td" . $colspan . ">" . spacer(1, 1) . "</td><td>" . spacer(1, 1) . "</td>"; } else { if ($count > 1) { $colspan = $count > 2 ? " colspan=\"" . ($count - 1) . "\"" : ""; $left_cell = "<td " . $colspan . ">" . spacer(1, 1) . "</td>\n"; $space_cell = "<td" . $colspan . ">" . spacer(1, 1) . "</td><td>" . spacer(1, 1) . "</td>"; } } if ($nav_table_struct["space_celltop"]) { $cell_top = spacer(1, $nav_table_struct["space_celltop"]) . "<br />"; } if ($nav_table_struct["space_cellbottom"]) { $cell_bottom = "<br />" . spacer(1, $nav_table_struct["space_cellbottom"]); } $colspan = $depth2 > 1 ? ' colspan="' . $depth2 . '"' : ''; foreach ($struct as $key => $value) { if (_getStructureLevelDisplayStatus($key, $level)) { $link_image_id = "linkid" . generic_string(6); $link_name_id = ' name="' . $link_image_id . '" id="' . $link_image_id . '"'; if (!$struct[$key]["acat_redirect"]) { $link = 'index.php?'; if ($struct[$key]["acat_alias"]) { $link .= html_specialchars($struct[$key]["acat_alias"]); } else { $link .= 'id=' . $key; //',0,0,1,0,0'; } $redirect['target'] = ''; } else { $redirect = get_redirect_link($struct[$key]["acat_redirect"], ' ', ''); $link = $redirect['link']; } $js = ' style="cursor:pointer;cursor:hand;"'; //display:block; $js_act = $js; if ($nav_table_struct["js_over_effects"]) { if ($redirect['target'] != ' target="_blank"') { $js .= " onclick=\"location.href='" . js_singlequote($link) . "';return false;\""; } else { $js .= " onclick=\"window.open('" . js_singlequote($link) . "', 'phpwcmnewwin');return false;\""; } $js_act = $js; $js .= ' onmouseover="'; if ($nav_table_struct["linkimage_over_js"]) { $js .= "MM_swapImage('" . $link_image_id . "','','" . $nav_table_struct["linkimage_over_js"] . "',1);"; } if ($nav_table_struct["row_over_bgcolor"]) { $js .= "this.bgColor='" . $nav_table_struct["row_over_bgcolor"] . "';"; } $js .= '" onmouseout="'; if ($nav_table_struct["linkimage_over_js"]) { $js .= "MM_swapImgRestore();"; } if ($nav_table_struct["row_norm_bgcolor"]) { $js .= "this.bgColor='" . $nav_table_struct["row_norm_bgcolor"] . "';"; } $js .= '"'; } else { $js = ''; } // add structure level based classes if (!empty($struct[$key]["acat_class"])) { $nav_table_struct_temp = $nav_table_struct; $nav_table_struct["row_norm_class"] = trim($nav_table_struct["row_norm_class"] . ' ' . $struct[$key]["acat_class"]); $nav_table_struct["row_active_class"] = trim($nav_table_struct["row_active_class"] . ' ' . $struct[$key]["acat_class"]); $nav_table_struct["row_space_class"] = 'row_space ' . $struct[$key]["acat_class"]; } else { $nav_table_struct_temp = NULL; } //spacer row if ($nav_table_struct["row_space"]) { $space_row = "<tr" . table_attributes($nav_table_struct, "row_space", 0, true) . ">\n" . $space_cell; $space_row .= "<td" . $colspan . ">" . spacer(1, $nav_table_struct["row_space"]) . "</td>"; $space_row .= $space_right . "\n</tr>\n"; $temp_menu .= $space_row; } if (!empty($temp_tree[$key])) { //if($act_cat_id == $key) { //check if inside active tree structure if ($act_cat_id == $key || !empty($nav_table_struct["all_nodes_active"]) && isset($GLOBALS['LEVEL_KEY'][$key])) { $temp_menu .= "<tr" . table_attributes($nav_table_struct, "row_active", 0, true) . $js_act . ">\n" . $left_cell; $temp_menu .= "<td valign=\"top\">" . str_replace('#', $link_name_id, $nav_table_struct["linkimage_active"]) . "</td>\n"; $temp_menu .= "<td" . table_attributes($nav_table_struct, "cell_active", 1, true) . $colspan . ">" . $cell_top; $temp_menu .= '<a href="' . $link . '"' . $redirect['target'] . '>'; $temp_menu .= $nav_table_struct["link_active_before"]; $temp_menu .= html_specialchars($struct[$key]["acat_name"]); $temp_menu .= $nav_table_struct["link_active_after"] . '</a>'; } else { $temp_menu .= "<tr" . table_attributes($nav_table_struct, "row_norm", 0, true) . $js . ">\n" . $left_cell; $temp_menu .= "<td valign=\"top\">" . str_replace('#', $link_name_id, $nav_table_struct["linkimage_norm"]) . "</td>\n"; $temp_menu .= "<td" . table_attributes($nav_table_struct, "cell", 1, true) . $colspan . ">" . $cell_top; $temp_menu .= '<a href="' . $link . '"' . $redirect['target'] . '>'; $temp_menu .= $nav_table_struct["link_before"]; $temp_menu .= html_specialchars($struct[$key]["acat_name"]); $temp_menu .= $nav_table_struct["link_after"] . '</a>'; } $temp_menu .= $cell_bottom . "</td>\n" . $right_cell . "</tr>\n"; $temp_menu .= build_levels($struct, $key, $temp_tree, $act_cat_id, $nav_table_struct, $count, $div, $link_to); } else { $temp_menu .= "<tr" . table_attributes($nav_table_struct, "row_norm", 0, true) . $js . ">\n" . $left_cell; $temp_menu .= "<td valign=\"top\">" . str_replace('#', $link_name_id, $nav_table_struct["linkimage_norm"]) . "</td>\n"; $temp_menu .= "<td" . table_attributes($nav_table_struct, "cell", 1, true) . $colspan . ">" . $cell_top; $temp_menu .= '<a href="' . $link . '"' . $redirect['target'] . '>'; $temp_menu .= $nav_table_struct["link_before"]; $temp_menu .= html_specialchars($struct[$key]["acat_name"]); $temp_menu .= $nav_table_struct["link_after"] . '</a>'; $temp_menu .= $cell_bottom . "</td>\n" . $right_cell . "</tr>\n"; } // reset table structure attributes if ($nav_table_struct_temp !== NULL) { $nav_table_struct = $nav_table_struct_temp; } } } if ($nav_table_struct["row_space"] && $count == 1) { $temp_menu .= $space_row; } return $temp_menu; }
echo '<td width="470" class="dir"><a href="phpwcms.php?' . $edit_link; echo '"><strong>' . html($row["template_name"]) . "</strong>"; echo $row["template_default"] ? " (" . $BL['be_admin_tmpl_default'] . ")" : ""; echo "</a></td>\n" . '<td width="60" align="right">'; echo '<a href="phpwcms.php?' . $edit_link; echo '"><img src="img/button/edit_22x11.gif" width="22" height="11" border="0"></a>'; echo '<img src="img/leer.gif" width="2" height="1">'; // ERICH COPY TEMPLATE 7.6.2005 echo '<a href="phpwcms.php?' . $edit_link . '&c=1'; // c=1 -> do copy echo '" title="copy template"><img src="img/button/copy_11x11_0.gif" width="11" height="11" border="0"></a>'; echo '<img src="img/leer.gif" width="2" height="1">'; // ERICH COPY TEMPLATE END 7.6.2005 echo '<a href="include/inc_act/act_frontendsetup.php?do=2|' . $row["template_id"] . '" '; echo 'title="' . $BL['be_cnt_delete'] . ': ' . html($row["template_name"]) . '" '; echo 'onclick="return confirm(\'' . js_singlequote($BL['be_cnt_delete'] . ': ' . html($row["template_name"])) . '\');">'; echo '<img src="img/button/del_11x11.gif" width="11" height="11" border="0"></a>'; echo '<img src="img/leer.gif" width="2" height="1">' . "</td>\n</tr>\n"; $row_count++; } mysql_free_result($result); } // end listing ?> <tr><td colspan="3" bgcolor="#92A1AF"><img src="img/leer.gif" alt="" width="1" height="1" /></td> </tr> <tr><td colspan="3"><img src="img/leer.gif" alt="" width="1" height="8" /></td> </tr> <tr><td colspan="3"><form action="phpwcms.php?do=admin&p=11&s=0" method="post"> <input type="submit" value="<?php echo $BL['be_admin_tmpl_add'];
"><img src="img/button/<?php if (!$userlist["usr_aktiv"]) { echo "in"; } ?> aktiv_mini.gif" alt="" width="14" height="15" border="0"></a><a href="<?php echo $goto; ?> "><img src="img/button/edit.gif" alt="" width="24" height="15" border="0" title="<?php echo $BL['be_admin_usr_editusr'] . ": " . html($userlist["usr_login"]); ?> "></a><a href="include/inc_act/act_user.php?del=<?php echo urlencode($userlist["usr_id"] . ":" . $userlist["usr_email"]); ?> " onclick="return confirm('Delete user <?php echo js_singlequote($userlist["usr_name"]); ?> ');"><img src="img/button/del_message_final.gif" alt="" width="22" height="15" border="0" title="<?php echo $BL['be_admin_usr_ldel'] . " " . html($userlist["usr_login"]); ?> "></a></td> </tr> <?php $zaehler++; } mysql_free_result($result); } //Ende Schleife Anzeige User if ($zaehler) { echo '<tr><td colspan="3"><img src="img/leer.gif" alt="" width="1" height="1"></td></tr>'; echo '<tr><td colspan="3" bgcolor="#92A1AF"><img src="img/leer.gif" alt="" width="1" height="1"></td></tr>';
echo " onmouseover=\"Tip('" . $BL['be_admin_page_category'] . " ID: <b>" . $row["cat_id"] . "</b><br />" . $BL['be_cnt_sorting'] . ": <b>" . $row["cat_sort"] . "</b>');\""; } echo '>' . LF; echo '<td width="25" style="padding:2px 3px 2px 4px;">'; echo '<img src="img/famfamfam/tag_'; echo $row['cat_pid'] ? 'orange' : 'blue'; echo '.gif" alt="' . $BLM['shop_category'] . '" /></td>' . LF; echo '<td class="dir" width="85%">'; echo $row['cat_pid'] ? ' ' : ' '; echo html_specialchars($row['category']) . "</td>\n"; echo '<td class="dir" width="3%" align="center"> ' . $row['cat_sort'] . ' </td>'; echo '<td width="10%" align="right" nowrap="nowrap" class="button_td">'; echo '<a href="' . $_controller_link . '&edit=' . $row["cat_id"] . '">'; echo '<img src="img/button/edit_22x13.gif" border="0" alt="" /></a>'; echo '<a href="' . $_controller_link . '&status=' . $row["cat_id"] . '-' . $row["cat_status"] . '">'; echo '<img src="img/button/aktiv_12x13_' . $row["cat_status"] . '.gif" border="0" alt="" /></a>'; echo '<a href="' . $_controller_link . '&delete=' . $row["cat_id"]; echo '" title="delete: ' . html_specialchars($row['cat_name']) . '"'; echo ' onclick="return confirm(\'' . $BLM['delete_entry'] . js_singlequote($row['cat_name']) . '\');">'; echo '<img src="img/button/trash_13x13_1.gif" border="0" alt="" /></a>'; echo '</td>' . LF; echo '</tr>' . LF; $row_count++; } echo '<tr><td colspan="4" bgcolor="#92A1AF"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr>'; } else { echo '<tr><td colspan="4" class="tdtop5">' . $BL['be_empty_search_result'] . '</td></tr>'; } ?> </table>
} $data = _dbQuery($sql); if ($data) { foreach ($data as $row) { echo '<tr' . ($row_count % 2 ? ' class="adsAltRow"' : '') . '>' . LF; echo ' <td width="25" style="padding:2px 3px 2px 4px;"><img src="img/famfamfam/transmit.gif" alt="' . $BLM['campaign_entry'] . '" /></td>' . LF; echo ' <td width="50%">' . html($row["adcampaign_title"]) . "</td>\n"; echo ' <td class="listFormat">' . html(date($BLM['list_date_format'], $row["adcampaign_start"]) . '–' . date($BLM['list_date_format'], $row["adcampaign_end"])) . "</td>\n"; echo ' <td class="listFormat" nowrap="nowrap">' . $row["adplace_width"] . 'x' . $row["adplace_height"] . ' {ADS_' . $row["adplace_id"] . "} </td>\n"; echo ' <td align="right" nowrap="nowrap" class="button_td">'; echo '<a href="' . MODULE_HREF . '&campaign=1&edit=' . $row["adcampaign_id"] . '">'; echo '<img src="img/button/edit_22x13.gif" border="0" alt="" /></a>'; echo '<a href="' . MODULE_HREF . '&campaign=1&duplicate=' . $row["adcampaign_id"] . '" '; echo 'title="' . $BLM['duplicate_title'] . '" onclick="return confirm(\'' . js_singlequote($BLM['duplicate_campaign']) . ' \\n' . js_singlequote($BLM['campaign_title'] . ': ' . html('"' . $row["adcampaign_title"] . '"')) . '\');"'; echo '><img src="img/button/copy_13x13.gif" border="0" alt="" /></a>'; echo '<a href="' . MODULE_HREF . '&campaign=1&editid=' . $row["adcampaign_id"] . '&verify='; echo ($row["adcampaign_status"] ? '0' : '1') . '">'; echo '<img src="img/button/aktiv_12x13_' . $row["adcampaign_status"] . '.gif" border="0" alt="" /></a>'; echo '<a href="' . MODULE_HREF . '&campaign=1&delete=' . $row["adcampaign_id"]; echo '" title="delete: ' . html($row["adcampaign_title"]) . '"'; echo ' onclick="return confirm(\'' . $BLM['delete_entry'] . js_singlequote($row["adcampaign_title"]) . '\');">'; echo '<img src="img/button/trash_13x13_1.gif" border="0" alt=""></a>'; echo "</td>\n</tr>\n"; $row_count++; } echo '<tr><td colspan="5" bgcolor="#92A1AF"><img src="img/leer.gif" alt="" width="1" height="1"></td></tr>'; } else { echo '<tr><td colspan="5" class="tdtop5">' . $BL['be_empty_search_result'] . '</td></tr>'; } ?> </table>
echo '<td width="25" style="padding:2px 3px 2px 4px;">'; echo '<img src="img/famfamfam/package.gif" alt="' . $BLM['shop_product'] . '" /></td>' . LF; echo '<td class="dir">'; if (SHOP_FELANG_SUPPORT) { $row['shopprod_lang'] = html_specialchars(strtolower($row['shopprod_lang'])); echo '<img src="img/famfamfam/lang/' . ($row['shopprod_lang'] ? $row['shopprod_lang'] : 'all') . '.png" alt="' . $row['shopprod_lang'] . '" />'; } echo ' ' . html_specialchars($row['shopprod_ordernumber']) . "</td>\n"; echo '<td class="dir"> ' . html_specialchars($row['shopprod_model']) . "</td>\n"; echo '<td class="dir"> ' . html_specialchars($row['shopprod_name1']) . "</td>\n"; echo '<td class="dir listNumber"> ' . html_specialchars(number_format(round($row['shopprod_price'], 2), 2, $BLM['dec_point'], $BLM['thousands_sep'])) . " </td>\n"; echo '<td align="right" nowrap="nowrap" class="button_td">'; echo '<a href="' . $_controller_link . '&edit=' . $row["shopprod_id"] . '">'; echo '<img src="img/button/edit_22x13.gif" border="0" alt="" /></a>'; echo '<a href="' . $_controller_link . '&status=' . $row["shopprod_id"] . '-' . $row["shopprod_status"] . '">'; echo '<img src="img/button/aktiv_12x13_' . $row["shopprod_status"] . '.gif" border="0" alt="" /></a>'; echo '<a href="' . $_controller_link . '&delete=' . $row["shopprod_id"]; echo '" title="delete: ' . html_specialchars($row['shopprod_ordernumber'] . ' / ' . $row['shopprod_name1']) . '"'; echo ' onclick="return confirm(\'' . $BLM['delete_product'] . js_singlequote($row['shopprod_ordernumber'] . ' / ' . $row['shopprod_name1']) . '\');">'; echo '<img src="img/button/trash_13x13_1.gif" border="0" alt="" /></a>'; echo '</td>' . LF; echo '</tr>' . LF; $row_count++; } echo '<tr><td colspan="6" bgcolor="#92A1AF"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr>'; } else { echo '<tr><td colspan="6" class="tdtop5">' . $BL['be_empty_search_result'] . '</td></tr>'; } ?> </table>
$value2 = array('title' => '', 'description' => ''); } $tmpldata['js'][] = ' nltemplate["' . $value . '"] = new Array();'; $tmpldata['js'][] = ' nltemplate["' . $value . '"]["title"] = "' . js_singlequote($value2['title']) . '";'; $tmpldata['js'][] = ' nltemplate["' . $value . '"]["description"] = "' . js_singlequote($value2['description']) . '";'; $value2 = ''; // set preview image if (isset($tmpldata['files'][$i]['preview.gif'])) { $value2 = 'preview.gif'; } elseif (isset($tmpldata['files'][$i]['preview.jpg'])) { $value2 = 'preview.jpg'; } elseif (isset($tmpldata['files'][$i]['preview.png'])) { $value2 = 'preview.png'; } if ($value2) { $tmpldata['js'][] = ' nltemplate["' . $value . '"]["imgsrc"] = "' . js_singlequote(TEMPLATE_PATH . 'inc_newsletter/' . $value . '/' . $value2) . '";'; } $i++; } } ?> <tr> <td align="right" class="chatlist"><?php echo $BL['be_admin_struct_template']; ?> : </td> <td><select name="newsletter_template" id="newsletter_template" onchange="showNewsletterTemplateData(this.options[this.selectedIndex].value);"> <option value=""<?php if (empty($newsletter["newsletter_vars"]['template'])) { echo ' selected="selected"'; }
} } } } else { $_userInfo['channel_select'] = ''; } $row["address_email"] = html($row["address_email"]); echo '<tr' . ($row_count % 2 ? ' bgcolor="#F3F5F8"' : '') . $_userInfo['channel_select'] . ">\n<td width=\"25\" style=\"padding:1px 3px 3px 4px;\">"; echo '<img src="img/famfamfam/vcard.gif" alt="Recipient"></td>' . "\n"; echo '<td width="1%" class="dir"> <strong>' . $row["address_email"] . "</strong></td>\n"; echo '<td class="dir" width="95%"> ' . html($row["address_name"]) . "</td>\n"; echo '<td align="right" nowrap="nowrap" class="button_td">'; echo '<a href="phpwcms.php?do=messages&p=4&s=' . $row["address_id"] . '&edit=1">'; echo '<img src="img/button/edit_22x13.gif" border="0" alt=""></a>'; echo '<a href="phpwcms.php?do=messages&p=4&s=' . $row["address_id"] . '&verify='; echo $row["address_verified"] ? '0' : '1'; echo '" title="set ' . $row["address_email"] . ' verified/not verified">'; echo '<img src="img/button/aktiv_12x13_' . $row["address_verified"] . '.gif" border="0" alt=""></a>'; echo '<a href="phpwcms.php?do=messages&p=4&s=' . $row["address_id"] . '&del=' . $row["address_id"]; echo '" title="delete: ' . $row["address_email"] . '"'; echo ' onclick="return confirm(\'Delete subscriber ' . js_singlequote($row["address_email"]) . '\');">'; echo '<img src="img/button/trash_13x13_1.gif" border="0" alt=""></a>'; echo "</td>\n</tr>\n"; $row_count++; } if ($row_count) { echo '<tr><td colspan="4" bgcolor="#92A1AF"><img src="img/leer.gif" alt="" width="1" height="1"></td></tr>'; } ?> <tr><td colspan="4"><img src="img/leer.gif" alt="" width="1" height="15"></td></tr> </table>
foreach ($data as $key => $row) { echo '<tr' . ($key % 2 ? ' class="adsAltRow"' : '') . '>' . LF; echo '<td width="25" style="padding:2px 3px 2px 4px;">'; echo '<a href="' . $_controller_link . '&show=' . $row["order_id"] . '">'; echo '<img src="img/famfamfam/cart_go.gif" alt="' . $BLM['shop_order'] . '" border="0" />'; echo '</a></td>' . LF; echo '<td class="dir nowrap" width="13%">'; if (SHOP_FELANG_SUPPORT) { $row['order_data'] = @unserialize($row['order_data']); $row['shopprod_lang'] = empty($row['order_data']['lang']) ? '' : html_specialchars(strtolower($row['order_data']['lang'])); echo '<img src="img/famfamfam/lang/' . ($row['shopprod_lang'] ? $row['shopprod_lang'] : 'all') . '.png" alt="' . $row['shopprod_lang'] . '" style="position:relative;top:1px;margin:0 3px 0 3px;" />'; } echo html_specialchars($row['order_number']) . " </td>\n"; echo '<td class="dir" align="right" width="13%"> ' . html_specialchars($row['order_fdate']) . " </td>\n"; echo '<td class="dir nowrap" width="50%"> <a href="mailto:' . $row['order_email'] . '?subject=' . rawurlencode($BLM['shopprod_order_subject'] . ' #' . $row['order_number']) . '">'; echo html_specialchars($row['order_firstname'] . ' ' . $row['order_name']) . "</a> </td>\n"; echo '<td class="dir listNumber" width="10%">' . html_specialchars(number_format(round($row['order_net'], 2), 2, $BLM['dec_point'], $BLM['thousands_sep'])) . " </td>\n"; echo '<td class="dir listNumber" width="10%">' . html_specialchars(number_format(round($row['order_gross'], 2), 2, $BLM['dec_point'], $BLM['thousands_sep'])) . " </td>\n"; echo '<td class="dir" width="10%">' . (empty($row['order_payment']) ? '-' : html_specialchars($BLM['shopprod_payby_' . $row['order_payment']])) . " </td>\n"; echo '<td width="5%" align="right" class="button_td nowrap">'; echo '<a href="' . $_controller_link . '&delete=' . $row["order_id"] . '" title="' . $BL['be_cnt_delete'] . ': ' . html($row['order_number']) . '"'; echo ' onclick="return confirm(\'' . $BLM['delete_order'] . js_singlequote($row['order_number']) . '\');">'; echo '<img src="img/button/trash_13x13_1.gif" border="0" alt="" /></a>'; echo '</td>' . LF; echo '</tr>' . LF; } } else { echo '<tr><td colspan="8" bgcolor="#92A1AF"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr>'; } ?> </table>
} else { $img_name = html_specialchars($content['reference']["list"][$captkey][1]); } $content['reference']['ref_list'] .= '<img src="' . PHPWCMS_IMAGES . $thumb_image[0]; $content['reference']['ref_list'] .= '" border="' . $content['reference']['border'] . '" '; $content['reference']['ref_list'] .= $thumb_image[3] . ' alt="' . $img_name . '" title="' . $img_name; $content['reference']['ref_list'] .= '" id="' . $content['reference']['ref_id'] . 'a' . $captkey; $content['reference']['ref_list'] .= '" name="' . $content['reference']['ref_id'] . 'a' . $captkey . '" '; // switch large image onmouseover $content['reference']['ref_list'] .= 'onmouseover="'; if ($over_image != false) { $content['reference']['ref_list'] .= "MM_swapImage('" . $content['reference']['ref_id']; $content['reference']['ref_list'] .= "','','" . PHPWCMS_IMAGES . $over_image[0] . "',1);"; } // make single quotes js compatible $content['reference']['x7'] = js_singlequote($content['reference']['caption_list'][$captkey]); // check if layer for caption available if ($content['reference']['x8'] && $content['reference']['caption_list'][$captkey]) { $content['reference']['ref_list'] .= "addText('refcaptid" . $crow['acontent_id'] . "','"; $content['reference']['ref_list'] .= $content['reference']['x7'] . "');"; } $content['reference']['ref_list'] .= "MM_displayStatusMsg('" . $content['reference']['x7'] . "');return "; $content['reference']['ref_list'] .= 'document.MM_returnValue;" />' . $content['reference']['x6'] . "</td>\n"; $content['reference']['ref_list'] .= $content['reference']['x4']; } $ci++; } // close table row if horizontal $content['reference']['ref_list'] .= $content['reference']['x3']; // wrap it in the table $content['reference']['ref_list'] = '<table border="0" cellspacing="0" cellpadding="0">' . $content['reference']['ref_list'] . '</table>';
// loop listing available pagelayouts $sql = "SELECT * FROM " . DB_PREPEND . "phpwcms_pagelayout WHERE pagelayout_trash=0 ORDER BY pagelayout_default DESC;"; if ($result = mysql_query($sql, $db) or die("error while listing pagelayouts")) { $row_count = 0; while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) { echo "<tr" . ($row_count % 2 ? " bgcolor=\"#F3F5F8\"" : "") . ">\n<td width=\"1%\" style=\"padding:2px 5px 2px 3px\">"; echo '<img src="img/famfamfam/layout.gif" alt="" border="0" /></td>' . "\n"; echo '<td class="dir"><a href="phpwcms.php?do=admin&p=8&s=' . $row["pagelayout_id"]; echo '"><strong>' . html($row["pagelayout_name"]) . "</strong>"; echo $row["pagelayout_default"] ? " (" . $BL['be_admin_tmpl_default'] . ")" : ""; echo "</a></td>\n" . '<td align="right" nowarp="nowrap" style="padding:2px 3px 0 5px">'; echo '<a href="phpwcms.php?do=admin&p=8&s=' . $row["pagelayout_id"] . '" title="' . $BL['be_admin_page_edit'] . '">'; echo '<img src="img/button/edit_22x13.gif" alt="" border="0" /></a>'; echo '<a href="include/inc_act/act_frontendsetup.php?do=1|' . $row["pagelayout_id"] . '" '; echo 'title="delete pagelayout: ' . html($row["pagelayout_name"]); echo '" style="margin-left:3px" onclick="return confirm(\'' . $BL['be_cnt_delete'] . ': ' . js_singlequote(html($row["pagelayout_name"])) . '? \')">'; echo '<img src="img/button/trash_13x13_1.gif" border="0" alt="" /></a>'; echo "</td>\n</tr>\n"; $row_count++; } mysql_free_result($result); } // end listing ?> <tr><td colspan="3" bgcolor="#92A1AF"><img src="img/leer.gif" alt="" width="1" height="1"></td></tr> <tr><td colspan="3"><img src="img/leer.gif" alt="" width="1" height="8"></td> </tr> <tr><td colspan="3"><form action="phpwcms.php?do=admin&p=8&s=0" method="post"><input type="submit" value="<?php echo $BL['be_admin_page_add']; ?> " class="button" title="<?php
function listBackend() { $this->select = '*, '; $this->select .= 'IF(UNIX_TIMESTAMP(cnt_livedate)<=0, cnt_created, UNIX_TIMESTAMP(cnt_livedate)) AS cnt_startdate, '; $this->select .= 'UNIX_TIMESTAMP(cnt_killdate) AS cnt_enddate, '; $this->select .= 'IF(cnt_sort=0, IF(UNIX_TIMESTAMP(cnt_livedate)<=0, cnt_created, UNIX_TIMESTAMP(cnt_livedate)), cnt_sort) AS cnt_sortdate'; //$this->order_by = array('cnt_prio DESC', 'cnt_sortdate DESC'); $this->getNews(); $list = array(); $x = 0; if (count($this->news)) { $list[] = '<table cellpadding="0" cellspacing="0" border="0" summary="" class="listing" style="width:100%; min-width:750px">'; $list[] = '<tr class="header">'; $sort_class = array('prio' => 'sort-off', 'name' => 'sort-off', 'start' => 'sort-off', 'sort' => 'sort-off', 'end' => 'sort-off'); switch ($this->filter_sort) { case 'prio_asc': $sort_class['prio'] = 'sort-asc'; break; case 'prio_desc': $sort_class['prio'] = 'sort-desc'; break; case 'name_asc': $sort_class['name'] = 'sort-asc'; break; case 'name_desc': $sort_class['name'] = 'sort-desc'; break; case 'start_asc': $sort_class['start'] = 'sort-asc'; break; case 'start_desc': $sort_class['start'] = 'sort-desc'; break; case 'sort_asc': $sort_class['sort'] = 'sort-asc'; break; case 'sort_desc': $sort_class['sort'] = 'sort-desc'; break; case 'end_asc': $sort_class['end'] = 'sort-asc'; break; case 'end_desc': $sort_class['end'] = 'sort-desc'; break; } $list[] = '<th class="column colfirst news"><span class="' . $sort_class['name'] . '">' . $this->BL['be_title'] . '</span></th>'; $list[] = '<th class="column"><span class="' . $sort_class['start'] . '">' . $this->BL['be_article_cnt_start'] . '</span></th>'; $list[] = '<th class="column"><span class="' . $sort_class['end'] . '">' . $this->BL['be_article_cnt_end'] . '</span></th>'; $list[] = '<th class="column"><span class="' . $sort_class['sort'] . '">' . $this->BL['be_sort_date'] . '</span></th>'; $list[] = '<th class="column"><span class="' . $sort_class['prio'] . '">Prio</span></th>'; $list[] = '<th class="column collast"> </th>'; $list[] = '</tr>'; foreach ($this->news as $news) { $list[] = '<tr class="row' . ($x % 2 ? ' alt' : '') . '">'; $news['live'] = $news['cnt_startdate']; $news['live'] = $news['live'] == false || $news['live'] <= 0 ? $this->BL['be_func_struct_empty'] : date($this->BL['be_shortdatetime'], $news['live']); $news['kill'] = phpwcms_strtotime($news['cnt_killdate'], $this->BL['be_shortdatetime'], $this->BL['be_func_struct_empty']); $news['sort'] = $news['cnt_sortdate'] == false || $news['cnt_sortdate'] <= 0 ? $this->BL['be_func_struct_empty'] : date($this->BL['be_shortdatetime'], $news['cnt_sortdate']); $list[] = '<td class="column colfirst news" style="background-image:url(img/famfamfam/lang/' . (!$news['cnt_lang'] ? 'all' : $news['cnt_lang']) . '.png)">'; $list[] = html($news['cnt_name']); $list[] = '</td>'; $list[] = '<td class="column nowrap">' . $news['live'] . '</td>'; $list[] = '<td class="column nowrap">' . $news['kill'] . '</td>'; $list[] = '<td class="column nowrap">' . $news['sort'] . '</td>'; $list[] = '<td class="column">' . $news['cnt_prio'] . '</td>'; $list[] = '<td class="column collast nowrap"> <a href="' . $this->base_url . '&cntid=' . $news['cnt_id'] . '&action=edit">' . '<img src="img/button/edit_22x13.gif" border="0" alt="" /></a>' . '<a href="' . $this->base_url . '&cntid=' . $news['cnt_id'] . '&status=' . ($news['cnt_status'] ? '0' : '1') . '">' . '<img src="img/button/aktiv_12x13_' . $news['cnt_status'] . '.gif" border="0" alt="" /></a>' . '<a href="' . $this->base_url . '&cntid=' . $news['cnt_id'] . '&status=9' . '" title="' . $this->BL['be_delete_dataset'] . ' ' . html($news['cnt_name']) . '" onclick="return confirm(\'' . $this->BL['be_delete_dataset'] . ' \\n' . js_singlequote($news['cnt_name']) . '\');">' . '<img src="img/button/trash_13x13_1.gif" border="0" alt=""></a> </td>'; $list[] = '</tr>'; $x++; } $list[] = '</table>'; } return implode(LF, $list); }
$data = _dbQuery($sql); if ($data) { foreach ($data as $row) { echo '<tr' . ($row_count % 2 ? ' bgcolor="#F3F5F8"' : '') . '>' . LF . '<td width="20" style="width:20px;padding:2px 1px 2px 3px;">'; echo '<img src="img/famfamfam/'; echo $row["glossary_highlight"] ? 'tag_blue_key.gif' : 'tag_blue.gif'; echo '" alt="' . $BLM['glossary_entry'] . '" /></td>' . LF; echo '<td class="dir" width="50%">' . html($row["glossary_title"]) . " </td>\n"; echo '<td class="dir">' . html($row["glossary_keyword"]) . " </td>\n"; echo '<td class="dir">' . html($row["glossary_tag"]) . " </td>\n"; echo '<td align="right" nowrap="nowrap" class="button_td">'; echo '<a href="' . GLOSSARY_HREF . '&edit=' . $row["glossary_id"] . '">'; echo '<img src="img/button/edit_22x13.gif" border="0" alt="" /></a>'; echo '<a href="' . GLOSSARY_HREF . '&editid=' . $row["glossary_id"] . '&verify='; echo ($row["glossary_status"] ? '0' : '1') . '">'; echo '<img src="img/button/aktiv_12x13_' . $row["glossary_status"] . '.gif" border="0" alt="" /></a>'; echo '<a href="' . GLOSSARY_HREF . '&delete=' . $row["glossary_id"]; echo '" title="delete: ' . html($row["glossary_title"]) . '"'; echo ' onclick="return confirm(\'' . $BLM['delete_entry'] . ' ' . js_singlequote($row["glossary_title"]) . '\');">'; echo '<img src="img/button/trash_13x13_1.gif" border="0" alt=""></a>'; echo "</td>\n</tr>\n"; $row_count++; } echo '<tr><td colspan="5" bgcolor="#92A1AF"><img src="img/leer.gif" alt="" width="1" height="1"></td></tr>'; } else { echo '<tr><td colspan="5" class="tdtop5">' . $BL['be_empty_search_result'] . '</td></tr>'; } ?> <tr><td colspan="5"><img src="img/leer.gif" alt="" width="1" height="15"></td></tr> </table>
} ?> aktiv_mini.gif" alt="" width="14" height="15" border="0" /></a><a href="<?php echo $goto; ?> "><img src="img/button/edit.gif" alt="" width="24" height="15" border="0" title="<?php echo $BL['modules']['usergroup']['be_admin_group_edit'] . ": " . html($grouplist["group_name"]); ?> "></a><a href="<?php echo $phpwcms['modules']['usergroup']['dir']; ?> include/inc_act/act_usergroup.php?del=<?php echo urlencode($grouplist["group_id"] . ":" . $grouplist["group_name"]); ?> " onclick="return confirm('Delete group <?php echo js_singlequote($grouplist["group_name"]); ?> ');"><img src="img/button/del_message_final.gif" alt="" width="22" height="15" border="0" title="<?php echo $BL['modules']['usergroup']['be_admin_group_ldel'] . " " . html($grouplist["group_login"]); ?> "></a></td> </tr> <?php } } else { echo '<tr><td colspan="3">' . $BL['be_admin_group_nogroup'] . ': <a href="phpwcms.php?do=admin&p=1&create_group=1">' . $BL['be_admin_group_add'] . '</a></td></tr>'; } ?> <tr><td colspan="3"><img src="img/leer.gif" alt="" width="1" height="6"></td></tr> <tr><td colspan="3" bgcolor="#92A1AF"><img src="img/leer.gif" alt="" width="1" height="1"></td></tr> <tr><td colspan="3"><img src="img/leer.gif" alt="" width="1" height="8"></td></tr>
$sql = 'SELECT COUNT(*) FROM ' . DB_PREPEND . 'phpwcms_ads_campaign WHERE adcampaign_status!=9 AND adcampaign_place='; foreach ($data as $row) { echo '<tr' . ($row_count % 2 ? ' class="adsAltRow"' : '') . '>' . LF; echo ' <td width="25" style="padding:2px 3px 2px 4px;"><img src="img/famfamfam/layout.gif" alt="' . $BLM['adplace'] . '" /></td>' . LF; echo ' <td width="50%">' . html($row["adplace_title"]) . "</td>\n"; echo ' <td class="listFormat" nowrap="nowrap">' . html($row["adformat_title"]) . "</td>\n"; echo ' <td class="listFormat">{ADS_' . $row["adplace_id"] . "}</td>\n"; echo ' <td class="listFormat">' . $row["adplace_width"] . 'x' . $row["adplace_height"] . " </td>\n"; echo ' <td align="right" nowrap="nowrap" class="button_td">'; echo '<a href="' . MODULE_HREF . '&adplace=1&edit=' . $row["adplace_id"] . '">'; echo '<img src="img/button/edit_22x13.gif" border="0" alt="" /></a>'; echo '<a href="' . MODULE_HREF . '&adplace=1&editid=' . $row["adplace_id"] . '&verify='; echo ($row["adplace_status"] ? '0' : '1') . '">'; echo '<img src="img/button/aktiv_12x13_' . $row["adplace_status"] . '.gif" border="0" alt="" /></a>'; // check if campaign for place is available - then it's not possible t delete place if (_dbQuery($sql . $row['adplace_id'], 'COUNT')) { echo '<img src="img/button/trash_13x13_1.gif" border="0" alt="" class="inactive" />'; } else { echo '<a href="' . MODULE_HREF . '&adplace=1&delete=' . $row["adplace_id"]; echo '" title="delete: ' . html($row["adplace_title"]) . '"'; echo ' onclick="return confirm(\'' . $BLM['delete_adplace'] . js_singlequote($row["adplace_title"]) . '\');">'; echo '<img src="img/button/trash_13x13_1.gif" border="0" alt="" /></a>'; } echo "</td>\n</tr>\n"; $row_count++; } if ($row_count) { echo '<tr><td colspan="6" bgcolor="#92A1AF"><img src="img/leer.gif" alt="" width="1" height="1"></td></tr>'; } ?> </table>
function listmode_edits($listmode, $struct, $key, $an, $copy_article_content, $cut_article_content, $copy_article, $copy_id, $cut_article, $cut_id, $forbid_cut, $forbid_copy, $count_row, $child_sort) { // Decide which action available $a = ''; switch ($listmode) { case 0: $a .= "<a href=\"phpwcms.php?do=articles&p=1&struct=" . $struct[$key]["acat_id"] . "\" "; $a .= "title=\"" . $GLOBALS['BL']['be_func_struct_new_article'] . " \n[" . $an . "]\">"; $a .= "<img src=\"img/button/add_11x11.gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"\" /></a>"; if ($cut_article) { // Cut $a .= '<a href="include/inc_act/act_structure.php?do=3' . '%7C' . $cut_article . '%7C'; $a .= $struct[$key]["acat_id"] . "\" title=\"" . $GLOBALS['BL']['be_func_struct_paste_article'] . " \n[" . $an; $a .= "]\"><img src=\"img/button/cut_11x11_1.gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"\" /></a>"; } else { $a .= "<img src=\"img/button/cut_11x11_9.gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"\" />"; } if ($copy_article) { $a .= '<a href="include/inc_act/act_structure.php?do=5' . '%7C' . $copy_article . '%7C'; $a .= $struct[$key]["acat_id"] . "\" title=\"" . $GLOBALS['BL']['be_func_struct_paste_article'] . " \n[" . $an; $a .= "]\"><img src=\"img/button/copy_11x11_1.gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"\" /></a>"; } else { $a .= "<img src=\"img/button/copy_11x11_9.gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"\" />"; } $a .= "<img src=\"img/button/sort_1_0.gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"\" />"; $a .= "<img src=\"img/button/sort_2_0.gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"\" />"; $a .= "<img src=\"img/button/visible_11x11a_" . $struct[$key]["acat_aktiv"] . ".gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"\" />"; break; case 1: $a .= "<a href=\"phpwcms.php?do=admin&p=6&struct=" . $struct[$key]["acat_id"] . "&sort=" . $child_sort . "\" title=\""; $a .= $GLOBALS['BL']['be_func_struct_insert_level'] . " [" . $an . "]\"><img src=\"img/button/add_11x11.gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"\" /></a>"; if ($cut_id) { if ($cut_id != $struct[$key]["acat_id"] && !$forbid_cut) { $a .= '<a href="include/inc_act/act_structure.php?do=1' . '%7C' . $cut_id . '%7C' . $struct[$key]["acat_id"] . '%7C'; $a .= $child_sort . "\" title=\"" . $GLOBALS['BL']['be_func_struct_paste_level']; $a .= " [" . $an . "]\"><img src=\"img/button/cut_11x11_1.gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"\" /></a>"; } else { $a .= "<a href=\"phpwcms.php?do=admin&p=6\" title=\""; $a .= $forbid_cut ? $GLOBALS['BL']['be_func_struct_no_paste1'] . "\n[" . $an . "]\n" . $GLOBALS['BL']['be_func_struct_no_paste2'] . "\n" . $GLOBALS['BL']['be_func_struct_no_paste3'] : $GLOBALS['BL']['be_func_struct_paste_cancel'] . " [" . $an . "]"; $a .= "\"><img src=\"img/button/cut_11x11_9.gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"\" /></a>"; } } else { if ($struct[$key]["acat_id"]) { $a .= "<a href=\"phpwcms.php?do=admin&p=6&cut=" . $struct[$key]["acat_id"] . "\" title=\""; $a .= $GLOBALS['BL']['be_func_struct_cut_level'] . " [" . $an; $a .= "]\"><img src=\"img/button/cut_11x11_0.gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"\" /></a>"; } else { $a .= "<a href=\"phpwcms.php?do=admin&p=6\" title=\"" . $GLOBALS['BL']['be_func_struct_no_cut'] . "\">"; $a .= "<img src=\"img/button/cut_11x11_9.gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"\" /></a>"; } } if ($copy_id) { if ($copy_id != $struct[$key]["acat_id"] && !$forbid_copy) { $a .= '<a href="include/inc_act/act_structure.php?do=6' . '%7C' . $copy_id . '%7C' . $struct[$key]["acat_id"] . '%7C'; $a .= $child_sort . "\" title=\"" . $GLOBALS['BL']['be_func_struct_paste_level']; $a .= " [" . $an . "]\"><img src=\"img/button/copy_11x11_1.gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"\" /></a>"; } else { $a .= "<a href=\"phpwcms.php?do=admin&p=6\" title=\""; $a .= $forbid_copy ? $GLOBALS['BL']['be_func_struct_no_paste1'] . "\n[" . $an . "]\n" . $GLOBALS['BL']['be_func_struct_no_paste2'] . "\n" . $GLOBALS['BL']['be_func_struct_no_paste3'] : $GLOBALS['BL']['be_func_struct_paste_cancel'] . " [" . $an . "]"; $a .= "\"><img src=\"img/button/copy_11x11_9.gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"\" /></a>"; } } else { if ($struct[$key]["acat_id"]) { $a .= "<a href=\"phpwcms.php?do=admin&p=6&cop=" . $struct[$key]["acat_id"] . "\" title=\""; $a .= $GLOBALS['BL']['be_func_struct_copy_level'] . " [" . $an; $a .= "]\"><img src=\"img/button/copy_11x11_0.gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"\" /></a>"; } else { $a .= "<a href=\"phpwcms.php?do=admin&p=6\" title=\"" . $GLOBALS['BL']['be_func_struct_no_copy'] . "\">"; $a .= "<img src=\"img/button/copy_11x11_9.gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"\" /></a>"; } } $a .= "<a href=\"phpwcms.php?do=admin&p=6&struct="; if ($struct[$key]["acat_id"]) { $a .= $struct[$key]["acat_struct"] . "&cat=" . $struct[$key]["acat_id"]; } else { $a .= 'index'; } $a .= '" title="' . $GLOBALS['BL']['be_func_struct_sedit'] . ' [' . $an . ']">'; $a .= "<img src=\"img/button/edit_22x11.gif\" width=\"22\" height=\"11\" border=\"0\" alt=\"\" /></a>"; //Sortierungslink $sort_up = $count_row > 1 && $key ? 1 : 0; $sort_down = $count_row > 1 && $key + 1 < $count_row ? 1 : 0; //davor sortieren $a .= $sort_up ? '<a href="include/inc_act/act_structure.php?do=2' . '%7C' . $struct[$key]["acat_id"] . '%7C' . $key * 10 . '%7C' . $struct[$key - 1]["acat_id"] . '%7C' . ($key + 1) * 10 . '" title="' . $GLOBALS['BL']['be_func_struct_sort_up'] . '">' : ''; $a .= "<img src=\"img/button/sort_1_" . $sort_up . ".gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"\" />" . ($sort_up ? "</a>" : ""); //dahinter sortieren $a .= $sort_down ? '<a href="include/inc_act/act_structure.php?do=2' . '%7C' . $struct[$key]["acat_id"] . '%7C' . ($key + 2) * 10 . '%7C' . $struct[$key + 1]["acat_id"] . '%7C' . ($key + 1) * 10 . '" title="' . $GLOBALS['BL']['be_func_struct_sort_down'] . '">' : ''; $a .= "<img src=\"img/button/sort_2_" . $sort_down . ".gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"\" />" . ($sort_down ? "</a>" : ""); $a .= "<img src=\"img/button/visible_11x11_" . $struct[$key]["acat_aktiv"] . ".gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"\" />"; if ($struct[$key]["acat_id"]) { $a .= '<a href="include/inc_act/act_structure.php?do=9' . '%7C' . $struct[$key]["acat_id"]; $a .= "\" title=\"" . $GLOBALS['BL']['be_func_struct_del_struct'] . " [" . $an . "]\" "; $a .= "onclick=\"return confirm('" . $GLOBALS['BL']['be_func_struct_del_sjsmsg'] . " \\n\\n[" . js_singlequote($an) . "] ');\">"; $a .= "<img src=\"img/button/del_11x11.gif\" width=\"11\" height=\"11\" border=\"0\" alt=\"\" /></a>"; } break; default: $a .= " "; } return $a; }
} $_entry['link '] .= $_entry['date']['calendar_end_time']; } $_entry['link '] .= ')'; if ($_entry['date']['calendar_range']) { $_entry['link '] = $BLM['repeat_list' . $_entry['date']['calendar_range']] . ': ' . $_entry['link ']; } $_entry['link '] = html($_entry['link '], false); echo '<p><a href="' . MODULE_HREF . '&edit=' . $_entry['date']['calendar_id'] . '"'; if ($_entry['date']['calendar_status'] == 0) { echo ' class="off"'; } echo '>' . $_entry['link '] . '</a>'; echo '<a href="' . MODULE_HREF . '&delete=' . $_entry['date']['calendar_id'] . '" class="calendarDateDel"'; echo ' title="' . $BLM['delete'] . ': ' . $_entry['link '] . '"'; echo ' onclick="return confirm(\'' . $BLM['delete_entry'] . ' \\n' . js_singlequote($_entry['date']['calendar_title']) . '\');">'; echo '<img src="img/button/del_9x9.gif" alt="" border="0" /></a>'; /* echo '<img src="img/button/'; if($_entry['date']['calendar_status'] == 0) echo 'in'; echo 'aktiv_mini1.gif" alt="" border="0" />'; */ echo '</p>'; } } else { echo ' '; } echo '</td>' . LF; echo ' <td class="calendarButton' . $_entry['class'] . '">'; echo '<a href="' . MODULE_HREF . '&edit=0&defaultdate='; echo $_entry['x'] . '-' . $plugin['current_month'] . '-' . $plugin['current_year'] . '" title="' . $BLM['add_event'] . '">';
echo ' </td>'; echo '<td nowrap="nowrap" class="v10" align="center">' . $count_recipient . '/' . $count_queue . '/' . $count_sent; if ($count_sent && !$count_queue && $row["newsletter_active"]) { echo '<img src="img/symbole/valid.gif" border="0" alt="valid" style="margin: 0 0 0 3px" />'; } echo ' </td>'; // buttons echo '<td align="right" nowrap="nowrap" class="button_td">'; // duplicate echo '<a href="phpwcms.php?do=messages&p=3&duplicate_nl=' . $row["newsletter_id"]; echo '"><img src="img/button/copy_11x11_0.gif" alt="Duplicate" border="0" style="margin:1px 3px 1px 0" /></a>'; // edit echo '<a href="phpwcms.php?do=messages&p=3&s=' . $row["newsletter_id"]; echo '&edit=1"><img src="img/button/edit_22x13.gif" alt="Edit" border="0" /></a>'; // delete echo '<a href="phpwcms.php?do=messages&p=3&s=' . $row["newsletter_id"] . '&del=' . $row["newsletter_id"]; echo '" title="delete: ' . html($row["newsletter_subject"]); echo '" onclick="return confirm(\'Delete newsletter: ' . js_singlequote(html($row["newsletter_subject"])) . '\');">'; echo '<img src="img/button/trash_13x13_1.gif" border="0" alt="Delete" /></a>'; echo "</td>\n</tr>\n"; $row_count++; } } else { echo '<tr><td colspan="6"> no newsletter available</td></tr>'; } ?> <tr><td colspan="6" bgcolor="#92A1AF"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr> <tr><td colspan="6"><img src="img/leer.gif" alt="" width="1" height="8" /></td></tr> </table> <?php }
} ?> </td> </tr> </table></td> <td align="right" style="padding-right:1px;"><a href="phpwcms.php?do=articles&p=2&s=1&aktion=2&id=<?php echo $article["article_id"] . "&acid=" . $row["acontent_id"]; ?> " title="<?php echo $BL['be_article_cnt_edit']; ?> "><img src="img/button/edit_22x13.gif" alt="" border="0" /></a><?php // duplicate content part echo '<a href="include/inc_act/act_structure.php?do=8%7C' . $row["acontent_id"] . '%7C' . $article["article_id"] . '%7C' . ($row["acontent_sorting"] + 5) . '" '; echo 'title="' . $BL['be_func_content_copy'] . ' [ID:' . $row["acontent_id"] . ']" '; echo 'onclick="return confirm(\'' . js_singlequote($BL['be_func_content_copy']) . ': \\n' . js_singlequote($cntpart_title . ' [ID:' . $row["acontent_id"] . ']') . '\');">'; echo '<img src="img/button/copy_13x13.gif" border="0" alt="" width="13" height="13" /></a>'; ?> <a href="include/inc_act/act_articlecontent.php?do=<?php echo "2," . $article["article_id"] . "," . $row["acontent_id"] . "," . switch_on_off($row["acontent_visible"]); ?> " title="<?php echo $BL['be_article_cnt_lvisible']; ?> "><img src="img/button/visible_12x13_<?php echo $row["acontent_visible"]; ?> .gif" alt="" width="12" height="13" border="0" /></a><a href="include/inc_act/act_articlecontent.php?do=<?php echo "9," . $article["article_id"] . "," . $row["acontent_id"]; ?> " title="<?php