Jump to content
Yepi1533005574

neues Kontaktformular

Recommended Posts

Falls jemand Interesse hat hier ein neues Kontaktformular.
Dieser kann über die Administration gesteuert werden An/Aus.. Adresse, Telefonnummer, Mobilnummer, Checkbox für Datenschutz.

Viel Spass damit.

*****************************************************

SQL:

INSERT INTO configuration_group (configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible) VALUES ('25','Kontaktformular', 'Emailoptionen Kontaktformular', '25', '1');

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added) VALUES ('Eingabefeld Telefonnummer', 'CONTACT_TELEFON_DISPLAY', 'true', 'Möchten Sie, dass das Eingabefeld für Telefonnummer zum Absenden benötigt wird ? true = ja, false = nein', '25', '1', now(), now());
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added) VALUES ('Eingabefeld Mobilnummer', 'CONTACT_MOBILE_DISPLAY', 'true', 'Möchten Sie, dass das Eingabefeld für Mobilnummer zum Absenden benötigt wird ? true = ja, false = nein', '25', '2', now(), now());
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added) VALUES ('Eingabefeld Anschrift', 'CONTACT_ADRESSE_DISPLAY', 'true', 'Möchten Sie, dass das Eingabefeld für Anschrift zum Absenden benötigt wird ? true = ja, false = nein', '25', '3', now(), now());
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added) VALUES ('Datenschutz Checkbox', 'CONTACT_CHECKPRIVACY_DISPLAY', 'true', 'Möchten Sie, dass die Datenschutz Checkbox zum Absenden benötigt wird ? true = ja, false = nein', '25', '4', now(), now());
 

 

***************************************

catalog/contact_us.php

<?php
/*
  $Id$

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2010 osCommerce

  Released under the GNU General Public License
*/

  require('includes/application_top.php');

  require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONTACT_US);

  $error = false;
  if (isset($_GET['action']) && ($_GET['action'] == 'send') && isset($_POST['formid']) && ($_POST['formid'] == $sessiontoken)) {
    $name          = tep_db_prepare_input($_POST['name']);
    $address       = tep_db_prepare_input($_POST['address']);
    $telefon       = tep_db_prepare_input($_POST['telefon']);
    $email_address = tep_db_prepare_input($_POST['email']);
    $enquiry       = tep_db_prepare_input($_POST['enquiry']);
    $mobile           = $_POST['mobile'];
    $betreff = TEXT_WHAT . ' ' . $name;
    $text = ENTRY_NAME . ' ' . $name
           . "\n\n" . ENTRY_ADDRESS . ' ' . $address
           . "\n\n" . ENTRY_TELEFON . ' ' . $telefon
           . "\n\n" . ENTRY_EMAIL . ' ' . $email_address
           . "\n\n" . ENTRY_MOBILE . ' ' . $mobile
           . "\n\n" . ENTRY_ENQUIRY . "\n" . $enquiry;

    if (strlen($enquiry) < 1) {
      $error = true;
      $messageStack->add('anfrage', ENTRY_ENQUIRY_CHECK_ERROR);
    }
if (CONTACT_MOBILE_DISPLAY == 'true') {
    if (strlen($mobile) < 1) {
      $error = true;
      $messageStack->add('anfrage', ENTRY_MOBILE_CHECK_ERROR);
    }else{
    }
    }
    if (strlen($name) < 1) {
      $error = true;
      $messageStack->add('anfrage', ENTRY_NAME_CHECK_ERROR);
    }
if (CONTACT_ADRESSE_DISPLAY == 'true') {
    if (strlen($address) < 1) {
      $error = true;
      $messageStack->add('anfrage', ENTRY_ADDRESS_CHECK_ERROR);
    }else{
    }
    }
    if (strlen($email_address) < 1) {
      $error = true;
      $messageStack->add('anfrage', ENTRY_EMAIL_ERROR);
    }
if (CONTACT_TELEFON_DISPLAY == 'true') {
    if (strlen($telefon) < 1) {
      $error = true;
      $messageStack->add('anfrage', ENTRY_TELEFON_ERROR);
    }else{
    }
    }
if (CONTACT_CHECKPRIVACY_DISPLAY == 'true') {
    if(!($_POST['terms_accept'])){
        $error = true;
        $messageStack->add('anfrage', ENTRY_PRIVACY_CHECK_ERROR); 	
    }else{
    }
}
    if ($error == false) {
      tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $betreff, $text, $name, $address, $email_address, $mobile);
      tep_redirect(tep_href_link(FILENAME_CONTACT_US, 'action=success'));
    }
  }



  $account = array();$name = '';$email = '';$telefon = '';
  if (tep_session_is_registered('customer_id'))
  {
    $account_query = tep_db_query("select c.customers_firstname, c.customers_lastname, c.customers_telephone, c.customers_id, c.customers_default_address_id, c.customers_email_address,
    ab.entry_street_address, ab.entry_postcode, ab.entry_city"  .
     " FROM " . TABLE_CUSTOMERS . " c, " . TABLE_ADDRESS_BOOK . " ab " .
     " WHERE c.customers_id = '" . (int)$customer_id . "'" .
     " AND ab.address_book_id = c.customers_default_address_id");
    $account = tep_db_fetch_array($account_query);
    $name    = $account['customers_firstname'].' '.$account['customers_lastname'] ;
    $email   = $account['customers_email_address'] ;
    $telefon = $account['customers_telephone'] ;
    $address = $account['entry_street_address'] . ',' . $account['entry_postcode'] . " " . $account['entry_city'];
  }

  $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONTACT_US));

  require(DIR_WS_INCLUDES . 'template_top.php');
?>
<div class="ui-widget infoBoxContainer">
<div class="ui-widget-proddesc infoBoxHeading">

<h1><?php echo HEADING_TITLE; ?></h1>
<?php
  if ($messageStack->size('anfrage') > 0) {
    echo $messageStack->output('anfrage');
  }
  if (isset($_GET['action']) && ($_GET['action'] == 'success')) {
?>
<div class="contentContainer">
<div class="contentText">
<?php echo TEXT_SUCCESS; ?>
</div>
</div>
</div>
</div>
<?php
  } else {
?>

<?php echo tep_draw_form('anfrage_form', tep_href_link(FILENAME_CONTACT_US, 'action=send'), 'post', '', true); ?>

<div class="contentContainer">
<div class="contentText">

<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="main">
<b><?php echo TEXT_TO; ?></b><br>
<b><?php echo nl2br(STORE_NAME_ADDRESS); ?></b><br><br>
<b><?php echo STORE_OWNER_EMAIL_ADDRESS; ?></b><br>
<br><hr><br>
<b><?php echo TEXT_1; ?></b><br>
</td>
</tr>
			<tr>
      <td class="fieldValue"><?php echo tep_draw_textarea_field('enquiry', 'soft', '60', '5'); ?><br><?php echo ENTRY_ENQUIRY; ?><br>
				</td>
    </tr>
			<tr height="8">
				<td class="fieldKey" height="8"></td>
			</tr>
			<tr>
        <td class="fieldKey"><?php echo ENTRY_NAME; ?><br>
        <?php echo (isset($account['customers_lastname']) ? $name . tep_draw_hidden_field('name',$name) : tep_draw_input_field('name', $name, 'size="45"')); ?></td>
    </tr>
			<tr height="8">
				<td class="fieldKey" height="8"></td>
			</tr>
			<tr>
      <td class="fieldKey"><?php echo ENTRY_EMAIL; ?><br>
					<?php echo (isset($account['email']) ? $email . tep_draw_hidden_field('email',$email) : tep_draw_input_field('email', $email, 'size="45"')); ?></td>
    </tr>
			<tr height="8">
				<td class="fieldValue" height="8"></td>
			</tr>
			<td class="fieldValue"><?php if (CONTACT_ADRESSE_DISPLAY == 'true') { ?><?php echo ENTRY_ADDRESS; ?><br>
				<?php echo (isset($account['entry_street_address']) ? $address . tep_draw_hidden_field('address',$address) : tep_draw_input_field('address', $address, 'size="45"')); ?>
			<?php }else{}?></td>
			<tr height="8">
				<td height="8"></td>
			</tr>
			<tr>
				<td class="fieldKey">
				<?php if (CONTACT_TELEFON_DISPLAY == 'true') { ?>
				<?php echo ENTRY_TELEFON; ?><br>
				<?php echo (isset($account['telefon']) ? $telefon . tep_draw_hidden_field('telefon',$telefon) : tep_draw_input_field('telefon', $telefon, 'size="45"')); ?>
			    <?php }else{}?></td>
			</tr>
			<tr height="8">
				<td class="fieldKey" height="8"></td>
			</tr>
			<td class="fieldKey"><?php if (CONTACT_MOBILE_DISPLAY == 'true') { ?><?php echo ENTRY_MOBILE; ?><br>
				<?php echo tep_draw_input_field('mobile', $mobile, 'size="45"'); ?>
			<?php }else{}?></td>
			<tr>
<td>
     

      
      </td >
</tr>
			<tr>
		<td>
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td>
					<!-- SOF TERMS ACCEPTANCE -->
				<tr>
					<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
				</tr>
				<tr>
					<td>
					<?php if (CONTACT_CHECKPRIVACY_DISPLAY == 'true') { ?>
					<div class="ui-widget-futured-header infoBoxHeading">
						<table border="0" width="100%" cellspacing="1" cellpadding="2" class="privacyBox">
							<tr class="infoBoxContents">
								<td>
									<table border="0" cellspacing="2" cellpadding="2" align="left">
										<tr>
														<td class="main" style='text-align:left;' bgcolor="#ff0000"><input type='checkbox' name='terms_accept'></td>
														<td class="main" style="text-align:left;" width="8"></td>
														<td class="main" style='text-align:left;'><?php echo TERMS_COND; ?></td>
										</tr>
									</table></div><?php }else{}?>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			<tr height="8">
				<td height="8"></td>
				
			</tr>
			<!-- EOF TERMS ACCEPTANCE --></td></tr>
			</table>
		</td>
	</tr>
</table>
		<table border="0" width="100%" cellspacing="0" cellpadding="2">
			<tr>
				<td><?php echo tep_draw_button(IMAGE_BUTTON_SEND_QUESTION, 'triangle-1-e', null, 'primary'); ?></td>
			</tr>
		</table>
	</div>
<div class="buttonSet">
    
  </div>
</div>
</form>
 <div class="noprint">
    
  </div>


</div>
</div>
<?php
  }

  require(DIR_WS_INCLUDES . 'template_bottom.php');
  require(DIR_WS_INCLUDES . 'application_bottom.php');
?>

 

****************************************

catalog/includes/languages/german/contact_us.php

<?php
/*
  $Id: widerruf.php 1739 2007-12-20 00:52:16Z hpdl $

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2002 osCommerce

  Released under the GNU General Public License
*/

define('NAVBAR_TITLE', 'Kontaktformular');
define('HEADING_TITLE', 'Kontaktformular');

define('TEXT_WHAT', 'Kontaktanfrage von ');
define('TEXT_TO', 'An:');
define('TEXT_1', '<strong><font size="2">Ihre Nachricht hier:</font></strong>');
define('ENTRY_ENQUIRY', 'Schildern Sie uns Ihr Anliegen.'); 

define('ENTRY_NAME', 'Vorname, Name:');
define('ENTRY_ADDRESS', 'Anschrift:');
define('ENTRY_EMAIL', 'E-Mailadresse:');
define('ENTRY_TELEFON', 'Telefonnummer:');
define('ENTRY_MOBILE', 'Mobilnummer:');

define('TEXT_SUCCESS', 'Vielen Dank f&uuml;r die Benutzung unseres Kontaktformulars. Wir werden Ihr Anliegen bearbeiten und uns bei Ihnen melden.');

define('ENTRY_ENQUIRY_CHECK_ERROR', 'Bitte schildern Sie uns Ihr Anliegen.');
define('ENTRY_MOBILE_CHECK_ERROR', 'Bitte geben Sie Ihre Mobilnummer ein.');
define('ENTRY_NAME_CHECK_ERROR', 'Bitte geben Sie Ihren vollständigen Namen ein.');
define('ENTRY_ADDRESS_CHECK_ERROR', 'Bitte geben Sie Ihre Anschrift ein.');
define('ENTRY_EMAIL_ERROR', 'Bitte geben Sie Ihre E-Mailadresse ein.');
define('ENTRY_TELEFON_ERROR', 'Bitte geben Sie Ihre Telefonnummer ein.');

//terms acceptance
define('TERMS_COND', '<td style="color:black;">Bestätigen Sie den <a style="color:blue;" href="extra_info_pages.php?pages_id=7"><b>Datenschutz</b></a> verstanden zu haben. </td>');
define('ENTRY_PRIVACY_CHECK_ERROR', 'Bitte bestätigen Sie die Datenschutz-Checkbox !');
//terms acceptance
?>

 

Share this post


Link to post
Share on other sites

Hallo Yepi!

Vielen Dank für die neue Modifikation! Gerade zur richtigen Zeit entdeckt, da ja diesen Monat die neue EU-Datenschutzerklärung in Kraft tritt und dann die Checkbox für Datenschutz beim Kontaktformular Pflicht ist.

Kannst du mir sagen wie ich den Code für den "Action Recorder", der im alten Kontaktformular war, integrieren kann?


  $page_check = tep_db_fetch_array($page_query);

  $pagetext=stripslashes($page_check[pages_html_text]);

  if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'send') && isset($HTTP_POST_VARS['formid']) && ($HTTP_POST_VARS['formid'] == $sessiontoken)) {
    $error = false;

    $name = tep_db_prepare_input($HTTP_POST_VARS['name']);
    $email_address = tep_db_prepare_input($HTTP_POST_VARS['email']);
    $enquiry = tep_db_prepare_input($HTTP_POST_VARS['enquiry']);

    if (!tep_validate_email($email_address)) {
      $error = true;

      $messageStack->add('contact', ENTRY_EMAIL_ADDRESS_CHECK_ERROR);
    }

    $actionRecorder = new actionRecorder('ar_contact_us', (tep_session_is_registered('customer_id') ? $customer_id : null), $name);
    if (!$actionRecorder->canPerform()) {
      $error = true;

      $actionRecorder->record(false);

      $messageStack->add('contact', sprintf(ERROR_ACTION_RECORDER, (defined('MODULE_ACTION_RECORDER_CONTACT_US_EMAIL_MINUTES') ? (int)MODULE_ACTION_RECORDER_CONTACT_US_EMAIL_MINUTES : 15)));
    }

    if ($error == false) {
      tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address);

      $actionRecorder->record();

      tep_redirect(tep_href_link(FILENAME_CONTACT_US, 'action=success'));
    }
  }

  $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONTACT_US));

  require(DIR_WS_INCLUDES . 'template_top.php');

Sonnige Grüße aus Zweibrücken,

Frank

Share this post


Link to post
Share on other sites

Hallo Frank, ich schau mir das heut Abend mal an und sobald ich etwas Zeit habe poste ich es hier rein.

Sollte aber nicht viel zu ändern sein. Einfach um die entsprechenden Datensätze erweitern und es sollte laufen.

LG.

Share this post


Link to post
Share on other sites

Die neue contact_us.php. mit Action Recorder.
Hier ist jedoch irgendwo ein Fehler mit der Anordnung der Platzhalter da bei der Warnmeldung werden die Boxen verschoben.
Solltest du den Fehler finden poste es bitte hier rein.

<?php
/*
  $Id$

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2010 osCommerce

  Released under the GNU General Public License
*/

  require('includes/application_top.php');

  require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONTACT_US);

  $error = false;
  if (isset($_GET['action']) && ($_GET['action'] == 'send') && isset($_POST['formid']) && ($_POST['formid'] == $sessiontoken)) {
    $name          = tep_db_prepare_input($_POST['name']);
    $address       = tep_db_prepare_input($_POST['address']);
    $telefon       = tep_db_prepare_input($_POST['telefon']);
    $email_address = tep_db_prepare_input($_POST['email']);
    $enquiry       = tep_db_prepare_input($_POST['enquiry']);
    $mobile           = $_POST['mobile'];
    $betreff = TEXT_WHAT . ' ' . $name;
    $text = ENTRY_NAME . ' ' . $name
           . "\n\n" . ENTRY_ADDRESS . ' ' . $address
           . "\n\n" . ENTRY_TELEFON . ' ' . $telefon
           . "\n\n" . ENTRY_EMAIL . ' ' . $email_address
           . "\n\n" . ENTRY_MOBILE . ' ' . $mobile
           . "\n\n" . ENTRY_ENQUIRY . "\n" . $enquiry;

    if (strlen($enquiry) < 1) {
      $error = true;
      $messageStack->add('anfrage', ENTRY_ENQUIRY_CHECK_ERROR);
    }
if (CONTACT_MOBILE_DISPLAY == 'true') {
    if (strlen($mobile) < 1) {
      $error = true;
      $messageStack->add('anfrage', ENTRY_MOBILE_CHECK_ERROR);
    }else{
    }
    }
    if (strlen($name) < 1) {
      $error = true;
      $messageStack->add('anfrage', ENTRY_NAME_CHECK_ERROR);
    }
if (CONTACT_ADRESSE_DISPLAY == 'true') {
    if (strlen($address) < 1) {
      $error = true;
      $messageStack->add('anfrage', ENTRY_ADDRESS_CHECK_ERROR);
    }else{
    }
    }
    if (strlen($email_address) < 1) {
      $error = true;
      $messageStack->add('anfrage', ENTRY_EMAIL_ERROR);
    }
if (CONTACT_TELEFON_DISPLAY == 'true') {
    if (strlen($telefon) < 1) {
      $error = true;
      $messageStack->add('anfrage', ENTRY_TELEFON_ERROR);
    }else{
    }
    }
if (CONTACT_CHECKPRIVACY_DISPLAY == 'true') {
    if(!($_POST['terms_accept'])){
        $error = true;
        $messageStack->add('anfrage', ENTRY_PRIVACY_CHECK_ERROR); 	
    }else{
    }
}

    $actionRecorder = new actionRecorder('ar_contact_us', (tep_session_is_registered('customer_id') ? $customer_id : null), $name);
    if (!$actionRecorder->canPerform()) {
      $error = true;

      $actionRecorder->record(false);

      $messageStack->add('anfrage', sprintf(ERROR_ACTION_RECORDER, (defined('MODULE_ACTION_RECORDER_CONTACT_US_EMAIL_MINUTES') ? (int)MODULE_ACTION_RECORDER_CONTACT_US_EMAIL_MINUTES : 15)));
    }


    if ($error == false) {
      tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $betreff, $text, $name, $address, $email_address, $mobile);

      $actionRecorder->record();

      tep_redirect(tep_href_link(FILENAME_CONTACT_US, 'action=success'));
    }
  }



  $account = array();$name = '';$email = '';$telefon = '';
  if (tep_session_is_registered('customer_id'))
  {
    $account_query = tep_db_query("select c.customers_firstname, c.customers_lastname, c.customers_telephone, c.customers_id, c.customers_default_address_id, c.customers_email_address,
    ab.entry_street_address, ab.entry_postcode, ab.entry_city"  .
     " FROM " . TABLE_CUSTOMERS . " c, " . TABLE_ADDRESS_BOOK . " ab " .
     " WHERE c.customers_id = '" . (int)$customer_id . "'" .
     " AND ab.address_book_id = c.customers_default_address_id");
    $account = tep_db_fetch_array($account_query);
    $name    = $account['customers_firstname'].' '.$account['customers_lastname'] ;
    $email   = $account['customers_email_address'] ;
    $telefon = $account['customers_telephone'] ;
    $address = $account['entry_street_address'] . ',' . $account['entry_postcode'] . " " . $account['entry_city'];
  }

  $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONTACT_US));

  require(DIR_WS_INCLUDES . 'template_top.php');
?>
<div class="ui-widget infoBoxContainer">
<div class="ui-widget-proddesc infoBoxHeading">

<h1><?php echo HEADING_TITLE; ?></h1>
<?php
  if ($messageStack->size('anfrage') > 0) {
    echo $messageStack->output('anfrage');
  }
  if (isset($_GET['action']) && ($_GET['action'] == 'success')) {
?>
<div class="contentContainer">
<div class="contentText">
<?php echo TEXT_SUCCESS; ?>
</div>
</div>
</div>
</div>
<?php
  } else {
?>

<?php echo tep_draw_form('anfrage_form', tep_href_link(FILENAME_CONTACT_US, 'action=send'), 'post', '', true); ?>

<div class="contentContainer">
<div class="contentText">

<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="main">
<b><?php echo TEXT_TO; ?></b><br>
<b><?php echo nl2br(STORE_NAME_ADDRESS); ?></b><br><br>
<b><?php echo STORE_OWNER_EMAIL_ADDRESS; ?></b><br>
<br><hr><br>
<b><?php echo TEXT_1; ?></b><br>
</td>
</tr>
			<tr>
      <td class="fieldValue"><?php echo tep_draw_textarea_field('enquiry', 'soft', '60', '5'); ?><br><?php echo ENTRY_ENQUIRY; ?><br>
				</td>
    </tr>
			<tr height="8">
				<td class="fieldKey" height="8"></td>
			</tr>
			<tr>
        <td class="fieldKey"><?php echo ENTRY_NAME; ?><br>
        <?php echo (isset($account['customers_lastname']) ? $name . tep_draw_hidden_field('name',$name) : tep_draw_input_field('name', $name, 'size="45"')); ?></td>
    </tr>
			<tr height="8">
				<td class="fieldKey" height="8"></td>
			</tr>
			<tr>
      <td class="fieldKey"><?php echo ENTRY_EMAIL; ?><br>
					<?php echo (isset($account['email']) ? $email . tep_draw_hidden_field('email',$email) : tep_draw_input_field('email', $email, 'size="45"')); ?></td>
    </tr>
			<tr height="8">
				<td class="fieldValue" height="8"></td>
			</tr>
			<td class="fieldValue"><?php if (CONTACT_ADRESSE_DISPLAY == 'true') { ?><?php echo ENTRY_ADDRESS; ?><br>
				<?php echo (isset($account['entry_street_address']) ? $address . tep_draw_hidden_field('address',$address) : tep_draw_input_field('address', $address, 'size="45"')); ?>
			<?php }else{}?></td>
			<tr height="8">
				<td height="8"></td>
			</tr>
			<tr>
				<td class="fieldKey">
				<?php if (CONTACT_TELEFON_DISPLAY == 'true') { ?>
				<?php echo ENTRY_TELEFON; ?><br>
				<?php echo (isset($account['telefon']) ? $telefon . tep_draw_hidden_field('telefon',$telefon) : tep_draw_input_field('telefon', $telefon, 'size="45"')); ?>
			    <?php }else{}?></td>
			</tr>
			<tr height="8">
				<td class="fieldKey" height="8"></td>
			</tr>
			<td class="fieldKey"><?php if (CONTACT_MOBILE_DISPLAY == 'true') { ?><?php echo ENTRY_MOBILE; ?><br>
				<?php echo tep_draw_input_field('mobile', $mobile, 'size="45"'); ?>
			<?php }else{}?></td>
			<tr>
<td>
     

      
      </td >
</tr>
			<tr>
		<td>
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td>
					<!-- SOF TERMS ACCEPTANCE -->
				<tr>
					<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
				</tr>
				<tr>
					<td>
					<?php if (CONTACT_CHECKPRIVACY_DISPLAY == 'true') { ?>
					<div class="ui-widget-futured-header infoBoxHeading">
						<table border="0" width="100%" cellspacing="1" cellpadding="2" class="privacyBox">
							<tr class="infoBoxContents">
								<td>
									<table border="0" cellspacing="2" cellpadding="2" align="left">
										<tr>
														<td class="main" style='text-align:left;' bgcolor="#ff0000"><input type='checkbox' name='terms_accept'></td>
														<td class="main" style="text-align:left;" width="8"></td>
														<td class="main" style='text-align:left;'><?php echo TERMS_COND; ?></td>
										</tr>
									</table></div><?php }else{}?>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			<tr height="8">
				<td height="8"></td>
				
			</tr>
			<!-- EOF TERMS ACCEPTANCE --></td></tr>
			</table>
		</td>
	</tr>
</table>
		<table border="0" width="100%" cellspacing="0" cellpadding="2">
			<tr>
				<td><?php echo tep_draw_button(IMAGE_BUTTON_SEND_QUESTION, 'triangle-1-e', null, 'primary'); ?></td>
			</tr>
		</table>
	</div>
</div>
</form>
</div>
</div>
<?php
  }
  require(DIR_WS_INCLUDES . 'template_bottom.php');
  require(DIR_WS_INCLUDES . 'application_bottom.php');
?>

 

Share this post


Link to post
Share on other sites

Hallo Yepi!

Vielen Dank für die schnelle Lösung.

Habe alles integriert inklusiv Sprachdateien und es läuft einwandfrei!  :)

Bei mir verschieben sich auch keine Boxen, allerdings habe ich ein komplett anderes Shop-Layout als das Standard-Oscommerce.

Dank Dir und wünsche einen prima Abend!

Gruß, Frank

Share this post


Link to post
Share on other sites

×