content.inc
上传用户:xiao730204
上传日期:2007-01-04
资源大小:141k
文件大小:2k
- <?php
- if ( $form_mode == PIMP_MAIL_PREFERENCES ) {
- $form_mode = PIMP_MAIL_PREF_SERVER;
- }
- $url_util = new UrlObject();
- $server_pref_url = $url_util->PostUrl(
- $default->base_url,
- Array(
- 'session_id' => $session_id,
- 'form_mode' => PIMP_MAIL_PREF_SERVER
- )
- );
- $sig_pref_url = $url_util->PostUrl(
- $default->base_url,
- Array(
- 'session_id' => $session_id,
- 'form_mode' => PIMP_MAIL_PREF_SIG
- )
- );
- echo $template_obj->GetValue( 'content_table_start' );
- ?>
- <tr <?php echo $template_obj->GetValue( 'nav_bgcolor' ); ?>>
- <td colspan="2">
- <?php echo $template_obj->GetValue( 'nav_font' ); ?>
- <b>Mail Preferences</b>
- </td>
- </tr>
- <tr <?php echo $template_obj->GetValue( 'nav_bgcolor' ); ?>>
- <?php if ( $form_mode == PIMP_MAIL_PREF_SERVER ) { ?>
- <td <?php echo $template_obj->GetValue( 'title_bgcolor' ); ?>>
- <?php echo $template_obj->GetValue( 'title_font' ); ?>
- <b>Server Preferences</b>
- </td>
- <?php } else { ?>
- <td>
- <?php echo $template_obj->GetValue( 'nav_font' ); ?>
- <b><A Href="<?php echo $server_pref_url; ?>">Server Preferences</a></b>
- </td>
- <?php } ?>
- <?php if ( $form_mode == PIMP_MAIL_PREF_SIG ) { ?>
- <td <?php echo $template_obj->GetValue( 'title_bgcolor' ); ?>>
- <?php echo $template_obj->GetValue( 'title_font' ); ?>
- <b>Signature</b>
- </td>
- <?php } else { ?>
- <td>
- <?php echo $template_obj->GetValue( 'nav_font' ); ?>
- <b><A Href="<?php echo( $sig_pref_url ); ?>">Signature</a></b>
- </td>
- <?php } ?>
- </tr>
- <?php
- switch( $form_mode ) {
- case PIMP_MAIL_PREF_SERVER:
- include( './pimp/templates/preferences/server.inc' );
- break;
- case PIMP_MAIL_PREF_SIG:
- include( './pimp/templates/preferences/signature.inc' );
- break;
- }
- ?>
- </table>
- </td></tr>
- </table>