<?php include_once 'class/class_xmlfeed.php'; $xmlfeed = new xmlfeed(); include_once 'class/class_cards_type.php'; $cards_type = new cards_type(); include_once 'class/class_credit_cards.php'; $credit_cards = new credit_cards(); include_once 'class/class_cards_issuer.php'; $cards_issuer = new cards_issuer(); include_once 'class/class_cards_quality.php'; $cards_quality = new cards_quality(); include_once 'class/class_cards_int.php'; $cards_int = new cards_int(); include_once 'class/class_cards_bank.php'; $cards_bank = new cards_bank(); include_once 'class/class_cards_report.php'; $cards_report = new cards_report(); include_once 'class/class_block.php'; $block = new block(); include_once 'class/class_user.php'; $user = new user(); //* include_once 'class/class_category_blog.php'; include_once 'class/class_comment_blog.php'; $category_blog = new category_blog(); $comment_blog = new comment_blog(); include_once 'class/class_blog.php'; $blogs = new blog(); //*/ include_once 'class/class_support.php';
<?php if (!defined('INCLUDED')) { die("Access Denied"); } include_once '../class/class_credit_cards.php'; $credit_cards = new credit_cards(); $list_cards = $credit_cards->lists_name(); if ($_POST['option'] == 'add') { $blog->add(); } if ($_POST['option'] == 'edit') { $blog->edit(); } if ($_GET['id']) { $row = $blog->detail(); $cards = explode(',', $row['cards_list']); $option = 'edit'; } echo $temp->title('Add/Update Advice Form', ''); echo $temp->input_text('Title', 'title', $row['title'], '80', 'text', 'onkeyup="seourl();"'); $the_alias = trim($row['alias']) ? $row['alias'] : str_replace(' ', '-', strtolower($row['title'])); $astrik = trim($row['alias']) ? '' : '*'; echo $temp->input_text('SEO URL' . $astrik, 'alias', $the_alias, '80'); echo $temp->area_text('Keyword', 'keyword', $row['keyword'], 'cols="60" rows ="2"'); echo $temp->area_text('Meta Description', 'meta', $row['meta'], 'cols="60" rows ="2"'); echo $temp->select_text('Category ', $category_blog->select($row['cat_id'], 'onchange = "dochange(\'' . $blog->module . '\',this.value)"')); echo $temp->input_text('Status', 'status', '1', '', 'checkbox', $row['status']); echo $temp->select_text('<b style = "color: red;">Body</b>', ''); echo $temp->area_text('Short Description', 'description', $row['description'], 'cols="60" rows ="3"'); $temp->detail('body', $row['body']);