Commit b9ee645ba2801f6330d407d5be4714b9436b50a4

Authored by 山上
1 parent 57304d87

更新

Showing 113 changed files with 284 additions and 285 deletions
1 -<?php 1 +<?PHP
2 //***************************************************************************** 2 //*****************************************************************************
3 //* 3 //*
4 //* プログラム名:ログイン画面 4 //* プログラム名:ログイン画面
1 -<?php 1 +<?PHP
2 2
3 /** 3 /**
4 * Config_File class. 4 * Config_File class.
1 -<?php 1 +<?PHP
2 2
3 /** 3 /**
4 * Project: Smarty: the PHP compiling template engine 4 * Project: Smarty: the PHP compiling template engine
@@ -188,7 +188,7 @@ class Smarty @@ -188,7 +188,7 @@ class Smarty
188 var $cache_modified_check = false; 188 var $cache_modified_check = false;
189 189
190 /** 190 /**
191 - * This determines how Smarty handles "<?php ... ?>" tags in templates. 191 + * This determines how Smarty handles "<?PHP ... ?>" tags in templates.
192 * possible values: 192 * possible values:
193 * <ul> 193 * <ul>
194 * <li>SMARTY_PHP_PASSTHRU -> print tags as plain text</li> 194 * <li>SMARTY_PHP_PASSTHRU -> print tags as plain text</li>
1 -<?php 1 +<?PHP
2 2
3 /** 3 /**
4 * Project: Smarty: the PHP compiling template engine 4 * Project: Smarty: the PHP compiling template engine
@@ -289,7 +289,7 @@ class Smarty_Compiler extends Smarty { @@ -289,7 +289,7 @@ class Smarty_Compiler extends Smarty {
289 for ($curr_sp = 0, $for_max2 = count($sp_match[1]); $curr_sp < $for_max2; $curr_sp++) { 289 for ($curr_sp = 0, $for_max2 = count($sp_match[1]); $curr_sp < $for_max2; $curr_sp++) {
290 if ($this->php_handling == SMARTY_PHP_PASSTHRU) { 290 if ($this->php_handling == SMARTY_PHP_PASSTHRU) {
291 /* echo php contents */ 291 /* echo php contents */
292 - $text_blocks[$curr_tb] = str_replace('%%%SMARTYSP'.$curr_sp.'%%%', '<?php echo \''.str_replace("'", "\'", $sp_match[1][$curr_sp]).'\'; ?>'."\n", $text_blocks[$curr_tb]); 292 + $text_blocks[$curr_tb] = str_replace('%%%SMARTYSP'.$curr_sp.'%%%', '<?PHP echo \''.str_replace("'", "\'", $sp_match[1][$curr_sp]).'\'; ?>'."\n", $text_blocks[$curr_tb]);
293 } else if ($this->php_handling == SMARTY_PHP_QUOTE) { 293 } else if ($this->php_handling == SMARTY_PHP_QUOTE) {
294 /* quote php tags */ 294 /* quote php tags */
295 $text_blocks[$curr_tb] = str_replace('%%%SMARTYSP'.$curr_sp.'%%%', htmlspecialchars($sp_match[1][$curr_sp]), $text_blocks[$curr_tb]); 295 $text_blocks[$curr_tb] = str_replace('%%%SMARTYSP'.$curr_sp.'%%%', htmlspecialchars($sp_match[1][$curr_sp]), $text_blocks[$curr_tb]);
@@ -298,7 +298,7 @@ class Smarty_Compiler extends Smarty { @@ -298,7 +298,7 @@ class Smarty_Compiler extends Smarty {
298 $text_blocks[$curr_tb] = str_replace('%%%SMARTYSP'.$curr_sp.'%%%', '', $text_blocks[$curr_tb]); 298 $text_blocks[$curr_tb] = str_replace('%%%SMARTYSP'.$curr_sp.'%%%', '', $text_blocks[$curr_tb]);
299 } else { 299 } else {
300 /* SMARTY_PHP_ALLOW, but echo non php starting tags */ 300 /* SMARTY_PHP_ALLOW, but echo non php starting tags */
301 - $sp_match[1][$curr_sp] = preg_replace('~(<\?(?!php|=|$))~i', '<?php echo \'\\1\'?>'."\n", $sp_match[1][$curr_sp]); 301 + $sp_match[1][$curr_sp] = preg_replace('~(<\?(?!php|=|$))~i', '<?PHP echo \'\\1\'?>'."\n", $sp_match[1][$curr_sp]);
302 $text_blocks[$curr_tb] = str_replace('%%%SMARTYSP'.$curr_sp.'%%%', $sp_match[1][$curr_sp], $text_blocks[$curr_tb]); 302 $text_blocks[$curr_tb] = str_replace('%%%SMARTYSP'.$curr_sp.'%%%', $sp_match[1][$curr_sp], $text_blocks[$curr_tb]);
303 } 303 }
304 } 304 }
@@ -337,7 +337,7 @@ class Smarty_Compiler extends Smarty { @@ -337,7 +337,7 @@ class Smarty_Compiler extends Smarty {
337 /* remove trailing whitespaces from the last text_block */ 337 /* remove trailing whitespaces from the last text_block */
338 $text_blocks[$j] = rtrim($text_blocks[$j]); 338 $text_blocks[$j] = rtrim($text_blocks[$j]);
339 } 339 }
340 - $text_blocks[$j] = "<?php echo '" . strtr($text_blocks[$j], array("'"=>"\'", "\\"=>"\\\\")) . "'; ?>"; 340 + $text_blocks[$j] = "<?PHP echo '" . strtr($text_blocks[$j], array("'"=>"\'", "\\"=>"\\\\")) . "'; ?>";
341 if ($compiled_tags[$j] == '{/strip}') { 341 if ($compiled_tags[$j] == '{/strip}') {
342 $compiled_tags[$j] = "\n"; /* slurped by php, but necessary 342 $compiled_tags[$j] = "\n"; /* slurped by php, but necessary
343 if a newline is following the closing strip-tag */ 343 if a newline is following the closing strip-tag */
@@ -359,19 +359,19 @@ class Smarty_Compiler extends Smarty { @@ -359,19 +359,19 @@ class Smarty_Compiler extends Smarty {
359 $text_blocks[$i+1] = preg_replace('~^(\r\n|\r|\n)~', '', $text_blocks[$i+1]); 359 $text_blocks[$i+1] = preg_replace('~^(\r\n|\r|\n)~', '', $text_blocks[$i+1]);
360 } 360 }
361 // replace legit PHP tags with placeholder 361 // replace legit PHP tags with placeholder
362 - $text_blocks[$i] = str_replace('<?', $tag_guard, $text_blocks[$i]);  
363 - $compiled_tags[$i] = str_replace('<?', $tag_guard, $compiled_tags[$i]); 362 + $text_blocks[$i] = str_replace('<?PHP ', $tag_guard, $text_blocks[$i]);
  363 + $compiled_tags[$i] = str_replace('<?PHP ', $tag_guard, $compiled_tags[$i]);
364 364
365 $compiled_content .= $text_blocks[$i] . $compiled_tags[$i]; 365 $compiled_content .= $text_blocks[$i] . $compiled_tags[$i];
366 } 366 }
367 - $compiled_content .= str_replace('<?', $tag_guard, $text_blocks[$i]); 367 + $compiled_content .= str_replace('<?PHP ', $tag_guard, $text_blocks[$i]);
368 368
369 // escape php tags created by interleaving 369 // escape php tags created by interleaving
370 - $compiled_content = str_replace('<?', "<?php echo '<?' ?>\n", $compiled_content);  
371 - $compiled_content = preg_replace("~(?<!')language\s*=\s*[\"\']?\s*php\s*[\"\']?~", "<?php echo 'language=php' ?>\n", $compiled_content); 370 + $compiled_content = str_replace('<?PHP ', "<?PHP echo '<?PHP ' ?>\n", $compiled_content);
  371 + $compiled_content = preg_replace("~(?<!')language\s*=\s*[\"\']?\s*php\s*[\"\']?~", "<?PHP echo 'language=php' ?>\n", $compiled_content);
372 372
373 // recover legit tags 373 // recover legit tags
374 - $compiled_content = str_replace($tag_guard, '<?', $compiled_content); 374 + $compiled_content = str_replace($tag_guard, '<?PHP ', $compiled_content);
375 375
376 // remove \n from the end of the file, if any 376 // remove \n from the end of the file, if any
377 if (strlen($compiled_content) && (substr($compiled_content, -1) == "\n") ) { 377 if (strlen($compiled_content) && (substr($compiled_content, -1) == "\n") ) {
@@ -379,7 +379,7 @@ class Smarty_Compiler extends Smarty { @@ -379,7 +379,7 @@ class Smarty_Compiler extends Smarty {
379 } 379 }
380 380
381 if (!empty($this->_cache_serial)) { 381 if (!empty($this->_cache_serial)) {
382 - $compiled_content = "<?php \$this->_cache_serials['".$this->_cache_include."'] = '".$this->_cache_serial."'; ?>" . $compiled_content; 382 + $compiled_content = "<?PHP \$this->_cache_serials['".$this->_cache_include."'] = '".$this->_cache_serial."'; ?>" . $compiled_content;
383 } 383 }
384 384
385 // run compiled template through postfilter functions 385 // run compiled template through postfilter functions
@@ -397,7 +397,7 @@ class Smarty_Compiler extends Smarty { @@ -397,7 +397,7 @@ class Smarty_Compiler extends Smarty {
397 } 397 }
398 398
399 // put header at the top of the compiled template 399 // put header at the top of the compiled template
400 - $template_header = "<?php /* Smarty version ".$this->_version.", created on ".strftime("%Y-%m-%d %H:%M:%S")."\n"; 400 + $template_header = "<?PHP /* Smarty version ".$this->_version.", created on ".strftime("%Y-%m-%d %H:%M:%S")."\n";
401 $template_header .= " compiled from ".strtr(urlencode($resource_name), array('%2F'=>'/', '%3A'=>':'))." */ ?>\n"; 401 $template_header .= " compiled from ".strtr(urlencode($resource_name), array('%2F'=>'/', '%3A'=>':'))." */ ?>\n";
402 402
403 /* Emit code to load needed plugins. */ 403 /* Emit code to load needed plugins. */
@@ -411,14 +411,14 @@ class Smarty_Compiler extends Smarty { @@ -411,14 +411,14 @@ class Smarty_Compiler extends Smarty {
411 } 411 }
412 } 412 }
413 $_plugins_params .= '))'; 413 $_plugins_params .= '))';
414 - $plugins_code = "<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');\nsmarty_core_load_plugins($_plugins_params, \$this); ?>\n"; 414 + $plugins_code = "<?PHP require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');\nsmarty_core_load_plugins($_plugins_params, \$this); ?>\n";
415 $template_header .= $plugins_code; 415 $template_header .= $plugins_code;
416 $this->_plugin_info = array(); 416 $this->_plugin_info = array();
417 $this->_plugins_code = $plugins_code; 417 $this->_plugins_code = $plugins_code;
418 } 418 }
419 419
420 if ($this->_init_smarty_vars) { 420 if ($this->_init_smarty_vars) {
421 - $template_header .= "<?php require_once(SMARTY_CORE_DIR . 'core.assign_smarty_interface.php');\nsmarty_core_assign_smarty_interface(null, \$this); ?>\n"; 421 + $template_header .= "<?PHP require_once(SMARTY_CORE_DIR . 'core.assign_smarty_interface.php');\nsmarty_core_assign_smarty_interface(null, \$this); ?>\n";
422 $this->_init_smarty_vars = false; 422 $this->_init_smarty_vars = false;
423 } 423 }
424 424
@@ -453,7 +453,7 @@ class Smarty_Compiler extends Smarty { @@ -453,7 +453,7 @@ class Smarty_Compiler extends Smarty {
453 if (preg_match('~^' . $this->_num_const_regexp . '|' . $this->_obj_call_regexp . '|' . $this->_var_regexp . '$~', $tag_command)) { 453 if (preg_match('~^' . $this->_num_const_regexp . '|' . $this->_obj_call_regexp . '|' . $this->_var_regexp . '$~', $tag_command)) {
454 /* tag name is a variable or object */ 454 /* tag name is a variable or object */
455 $_return = $this->_parse_var_props($tag_command . $tag_modifier); 455 $_return = $this->_parse_var_props($tag_command . $tag_modifier);
456 - return "<?php echo $_return; ?>" . $this->_additional_newline; 456 + return "<?PHP echo $_return; ?>" . $this->_additional_newline;
457 } 457 }
458 458
459 /* If the tag name is a registered object, we process it. */ 459 /* If the tag name is a registered object, we process it. */
@@ -478,7 +478,7 @@ class Smarty_Compiler extends Smarty { @@ -478,7 +478,7 @@ class Smarty_Compiler extends Smarty {
478 $this->_syntax_error('unexpected {else}', E_USER_ERROR, __FILE__, __LINE__); 478 $this->_syntax_error('unexpected {else}', E_USER_ERROR, __FILE__, __LINE__);
479 else 479 else
480 $this->_push_tag('else'); 480 $this->_push_tag('else');
481 - return '<?php else: ?>'; 481 + return '<?PHP else: ?>';
482 482
483 case 'elseif': 483 case 'elseif':
484 list($_open_tag) = end($this->_tag_stack); 484 list($_open_tag) = end($this->_tag_stack);
@@ -490,7 +490,7 @@ class Smarty_Compiler extends Smarty { @@ -490,7 +490,7 @@ class Smarty_Compiler extends Smarty {
490 490
491 case '/if': 491 case '/if':
492 $this->_pop_tag('if'); 492 $this->_pop_tag('if');
493 - return '<?php endif; ?>'; 493 + return '<?PHP endif; ?>';
494 494
495 case 'capture': 495 case 'capture':
496 return $this->_compile_capture_tag(true, $tag_args); 496 return $this->_compile_capture_tag(true, $tag_args);
@@ -510,15 +510,15 @@ class Smarty_Compiler extends Smarty { @@ -510,15 +510,15 @@ class Smarty_Compiler extends Smarty {
510 510
511 case 'sectionelse': 511 case 'sectionelse':
512 $this->_push_tag('sectionelse'); 512 $this->_push_tag('sectionelse');
513 - return "<?php endfor; else: ?>"; 513 + return "<?PHP endfor; else: ?>";
514 break; 514 break;
515 515
516 case '/section': 516 case '/section':
517 $_open_tag = $this->_pop_tag('section'); 517 $_open_tag = $this->_pop_tag('section');
518 if ($_open_tag == 'sectionelse') 518 if ($_open_tag == 'sectionelse')
519 - return "<?php endif; ?>"; 519 + return "<?PHP endif; ?>";
520 else 520 else
521 - return "<?php endfor; endif; ?>"; 521 + return "<?PHP endfor; endif; ?>";
522 522
523 case 'foreach': 523 case 'foreach':
524 $this->_push_tag('foreach'); 524 $this->_push_tag('foreach');
@@ -527,14 +527,14 @@ class Smarty_Compiler extends Smarty { @@ -527,14 +527,14 @@ class Smarty_Compiler extends Smarty {
527 527
528 case 'foreachelse': 528 case 'foreachelse':
529 $this->_push_tag('foreachelse'); 529 $this->_push_tag('foreachelse');
530 - return "<?php endforeach; else: ?>"; 530 + return "<?PHP endforeach; else: ?>";
531 531
532 case '/foreach': 532 case '/foreach':
533 $_open_tag = $this->_pop_tag('foreach'); 533 $_open_tag = $this->_pop_tag('foreach');
534 if ($_open_tag == 'foreachelse') 534 if ($_open_tag == 'foreachelse')
535 - return "<?php endif; unset(\$_from); ?>"; 535 + return "<?PHP endif; unset(\$_from); ?>";
536 else 536 else
537 - return "<?php endforeach; endif; unset(\$_from); ?>"; 537 + return "<?PHP endforeach; endif; unset(\$_from); ?>";
538 break; 538 break;
539 539
540 case 'strip': 540 case 'strip':
@@ -565,14 +565,14 @@ class Smarty_Compiler extends Smarty { @@ -565,14 +565,14 @@ class Smarty_Compiler extends Smarty {
565 return ''; 565 return '';
566 566
567 case 3: /* literal */ 567 case 3: /* literal */
568 - return "<?php echo '" . strtr($block[2], array("'"=>"\'", "\\"=>"\\\\")) . "'; ?>" . $this->_additional_newline; 568 + return "<?PHP echo '" . strtr($block[2], array("'"=>"\'", "\\"=>"\\\\")) . "'; ?>" . $this->_additional_newline;
569 569
570 case 4: /* php */ 570 case 4: /* php */
571 if ($this->security && !$this->security_settings['PHP_TAGS']) { 571 if ($this->security && !$this->security_settings['PHP_TAGS']) {
572 $this->_syntax_error("(secure mode) php tags not permitted", E_USER_WARNING, __FILE__, __LINE__); 572 $this->_syntax_error("(secure mode) php tags not permitted", E_USER_WARNING, __FILE__, __LINE__);
573 return; 573 return;
574 } 574 }
575 - return '<?php ' . $block[3] .' ?>'; 575 + return '<?PHP ' . $block[3] .' ?>';
576 } 576 }
577 break; 577 break;
578 578
@@ -648,7 +648,7 @@ class Smarty_Compiler extends Smarty { @@ -648,7 +648,7 @@ class Smarty_Compiler extends Smarty {
648 if ($have_function) { 648 if ($have_function) {
649 $output = call_user_func_array($plugin_func, array($tag_args, &$this)); 649 $output = call_user_func_array($plugin_func, array($tag_args, &$this));
650 if($output != '') { 650 if($output != '') {
651 - $output = '<?php ' . $this->_push_cacheable_state('compiler', $tag_command) 651 + $output = '<?PHP ' . $this->_push_cacheable_state('compiler', $tag_command)
652 . $output 652 . $output
653 . $this->_pop_cacheable_state('compiler', $tag_command) . ' ?>'; 653 . $this->_pop_cacheable_state('compiler', $tag_command) . ' ?>';
654 } 654 }
@@ -734,7 +734,7 @@ class Smarty_Compiler extends Smarty { @@ -734,7 +734,7 @@ class Smarty_Compiler extends Smarty {
734 $this->_pop_tag($tag_command); 734 $this->_pop_tag($tag_command);
735 735
736 if ($start_tag) { 736 if ($start_tag) {
737 - $output = '<?php ' . $this->_push_cacheable_state('block', $tag_command); 737 + $output = '<?PHP ' . $this->_push_cacheable_state('block', $tag_command);
738 $attrs = $this->_parse_attrs($tag_args); 738 $attrs = $this->_parse_attrs($tag_args);
739 $_cache_attrs=''; 739 $_cache_attrs='';
740 $arg_list = $this->_compile_arg_list('block', $tag_command, $attrs, $_cache_attrs); 740 $arg_list = $this->_compile_arg_list('block', $tag_command, $attrs, $_cache_attrs);
@@ -742,7 +742,7 @@ class Smarty_Compiler extends Smarty { @@ -742,7 +742,7 @@ class Smarty_Compiler extends Smarty {
742 $output .= '$_block_repeat=true;' . $this->_compile_plugin_call('block', $tag_command).'($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);'; 742 $output .= '$_block_repeat=true;' . $this->_compile_plugin_call('block', $tag_command).'($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);';
743 $output .= 'while ($_block_repeat) { ob_start(); ?>'; 743 $output .= 'while ($_block_repeat) { ob_start(); ?>';
744 } else { 744 } else {
745 - $output = '<?php $_block_content = ob_get_contents(); ob_end_clean(); '; 745 + $output = '<?PHP $_block_content = ob_get_contents(); ob_end_clean(); ';
746 $_out_tag_text = $this->_compile_plugin_call('block', $tag_command).'($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat)'; 746 $_out_tag_text = $this->_compile_plugin_call('block', $tag_command).'($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat)';
747 if ($tag_modifier != '') { 747 if ($tag_modifier != '') {
748 $this->_parse_modifiers($_out_tag_text, $tag_modifier); 748 $this->_parse_modifiers($_out_tag_text, $tag_modifier);
@@ -821,7 +821,7 @@ class Smarty_Compiler extends Smarty { @@ -821,7 +821,7 @@ class Smarty_Compiler extends Smarty {
821 } 821 }
822 822
823 if($output != '') { 823 if($output != '') {
824 - $output = '<?php ' . $_cacheable_state . $_cache_attrs . 'echo ' . $output . ';' 824 + $output = '<?PHP ' . $_cacheable_state . $_cache_attrs . 'echo ' . $output . ';'
825 . $this->_pop_cacheable_state('function', $tag_command) . "?>" . $this->_additional_newline; 825 . $this->_pop_cacheable_state('function', $tag_command) . "?>" . $this->_additional_newline;
826 } 826 }
827 827
@@ -919,7 +919,7 @@ class Smarty_Compiler extends Smarty { @@ -919,7 +919,7 @@ class Smarty_Compiler extends Smarty {
919 $output = ''; 919 $output = '';
920 } 920 }
921 921
922 - return '<?php ' . $prefix . $output . $postfix . "?>" . $newline; 922 + return '<?PHP ' . $prefix . $output . $postfix . "?>" . $newline;
923 } 923 }
924 924
925 /** 925 /**
@@ -957,7 +957,7 @@ class Smarty_Compiler extends Smarty { @@ -957,7 +957,7 @@ class Smarty_Compiler extends Smarty {
957 957
958 $_params = "array('args' => array(".implode(', ', (array)$arg_list)."))"; 958 $_params = "array('args' => array(".implode(', ', (array)$arg_list)."))";
959 959
960 - return "<?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');\necho smarty_core_run_insert_handler($_params, \$this); ?>" . $this->_additional_newline; 960 + return "<?PHP require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');\necho smarty_core_run_insert_handler($_params, \$this); ?>" . $this->_additional_newline;
961 } 961 }
962 962
963 /** 963 /**
@@ -988,7 +988,7 @@ class Smarty_Compiler extends Smarty { @@ -988,7 +988,7 @@ class Smarty_Compiler extends Smarty {
988 $arg_list[] = "'$arg_name' => $arg_value"; 988 $arg_list[] = "'$arg_name' => $arg_value";
989 } 989 }
990 990
991 - $output = '<?php '; 991 + $output = '<?PHP ';
992 992
993 if (isset($assign_var)) { 993 if (isset($assign_var)) {
994 $output .= "ob_start();\n"; 994 $output .= "ob_start();\n";
@@ -1041,7 +1041,7 @@ class Smarty_Compiler extends Smarty { @@ -1041,7 +1041,7 @@ class Smarty_Compiler extends Smarty {
1041 1041
1042 $_params = "array('smarty_file' => " . $attrs['file'] . ", 'smarty_assign' => '$assign_var', 'smarty_once' => $once_var, 'smarty_include_vars' => array(".implode(',', $arg_list)."))"; 1042 $_params = "array('smarty_file' => " . $attrs['file'] . ", 'smarty_assign' => '$assign_var', 'smarty_once' => $once_var, 'smarty_include_vars' => array(".implode(',', $arg_list)."))";
1043 1043
1044 - return "<?php require_once(SMARTY_CORE_DIR . 'core.smarty_include_php.php');\nsmarty_core_smarty_include_php($_params, \$this); ?>" . $this->_additional_newline; 1044 + return "<?PHP require_once(SMARTY_CORE_DIR . 'core.smarty_include_php.php');\nsmarty_core_smarty_include_php($_params, \$this); ?>" . $this->_additional_newline;
1045 } 1045 }
1046 1046
1047 1047
@@ -1056,7 +1056,7 @@ class Smarty_Compiler extends Smarty { @@ -1056,7 +1056,7 @@ class Smarty_Compiler extends Smarty {
1056 $attrs = $this->_parse_attrs($tag_args); 1056 $attrs = $this->_parse_attrs($tag_args);
1057 $arg_list = array(); 1057 $arg_list = array();
1058 1058
1059 - $output = '<?php '; 1059 + $output = '<?PHP ';
1060 $section_name = $attrs['name']; 1060 $section_name = $attrs['name'];
1061 if (empty($section_name)) { 1061 if (empty($section_name)) {
1062 $this->_syntax_error("missing section name", E_USER_ERROR, __FILE__, __LINE__); 1062 $this->_syntax_error("missing section name", E_USER_ERROR, __FILE__, __LINE__);
@@ -1191,7 +1191,7 @@ class Smarty_Compiler extends Smarty { @@ -1191,7 +1191,7 @@ class Smarty_Compiler extends Smarty {
1191 $name = null; 1191 $name = null;
1192 } 1192 }
1193 1193
1194 - $output = '<?php '; 1194 + $output = '<?PHP ';
1195 $output .= "\$_from = $from; if (!is_array(\$_from) && !is_object(\$_from)) { settype(\$_from, 'array'); }"; 1195 $output .= "\$_from = $from; if (!is_array(\$_from) && !is_object(\$_from)) { settype(\$_from, 'array'); }";
1196 if (isset($name)) { 1196 if (isset($name)) {
1197 $foreach_props = "\$this->_foreach[$name]"; 1197 $foreach_props = "\$this->_foreach[$name]";
@@ -1226,11 +1226,11 @@ class Smarty_Compiler extends Smarty { @@ -1226,11 +1226,11 @@ class Smarty_Compiler extends Smarty {
1226 $assign = isset($attrs['assign']) ? $attrs['assign'] : null; 1226 $assign = isset($attrs['assign']) ? $attrs['assign'] : null;
1227 $append = isset($attrs['append']) ? $attrs['append'] : null; 1227 $append = isset($attrs['append']) ? $attrs['append'] : null;
1228 1228
1229 - $output = "<?php ob_start(); ?>"; 1229 + $output = "<?PHP ob_start(); ?>";
1230 $this->_capture_stack[] = array($buffer, $assign, $append); 1230 $this->_capture_stack[] = array($buffer, $assign, $append);
1231 } else { 1231 } else {
1232 list($buffer, $assign, $append) = array_pop($this->_capture_stack); 1232 list($buffer, $assign, $append) = array_pop($this->_capture_stack);
1233 - $output = "<?php \$this->_smarty_vars['capture'][$buffer] = ob_get_contents(); "; 1233 + $output = "<?PHP \$this->_smarty_vars['capture'][$buffer] = ob_get_contents(); ";
1234 if (isset($assign)) { 1234 if (isset($assign)) {
1235 $output .= " \$this->assign($assign, ob_get_contents());"; 1235 $output .= " \$this->assign($assign, ob_get_contents());";
1236 } 1236 }
@@ -1414,9 +1414,9 @@ class Smarty_Compiler extends Smarty { @@ -1414,9 +1414,9 @@ class Smarty_Compiler extends Smarty {
1414 } 1414 }
1415 1415
1416 if ($elseif) 1416 if ($elseif)
1417 - return '<?php elseif ('.implode(' ', $tokens).'): ?>'; 1417 + return '<?PHP elseif ('.implode(' ', $tokens).'): ?>';
1418 else 1418 else
1419 - return '<?php if ('.implode(' ', $tokens).'): ?>'; 1419 + return '<?PHP if ('.implode(' ', $tokens).'): ?>';
1420 } 1420 }
1421 1421
1422 1422
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
@@ -25,7 +25,7 @@ function smarty_core_write_compiled_include($params, &$smarty) @@ -25,7 +25,7 @@ function smarty_core_write_compiled_include($params, &$smarty)
25 if (count($_match_source)==0) return; 25 if (count($_match_source)==0) return;
26 26
27 // convert the matched php-code to functions 27 // convert the matched php-code to functions
28 - $_include_compiled = "<?php /* Smarty version ".$smarty->_version.", created on ".strftime("%Y-%m-%d %H:%M:%S")."\n"; 28 + $_include_compiled = "<?PHP /* Smarty version ".$smarty->_version.", created on ".strftime("%Y-%m-%d %H:%M:%S")."\n";
29 $_include_compiled .= " compiled from " . strtr(urlencode($params['resource_name']), array('%2F'=>'/', '%3A'=>':')) . " */\n\n"; 29 $_include_compiled .= " compiled from " . strtr(urlencode($params['resource_name']), array('%2F'=>'/', '%3A'=>':')) . " */\n\n";
30 30
31 $_compile_path = $params['include_file_path']; 31 $_compile_path = $params['include_file_path'];
@@ -34,7 +34,7 @@ function smarty_core_write_compiled_include($params, &$smarty) @@ -34,7 +34,7 @@ function smarty_core_write_compiled_include($params, &$smarty)
34 $_include_compiled .= "\$this->_cache_serials['".$_compile_path."'] = '".$params['cache_serial']."';\n\n?>"; 34 $_include_compiled .= "\$this->_cache_serials['".$_compile_path."'] = '".$params['cache_serial']."';\n\n?>";
35 35
36 $_include_compiled .= $params['plugins_code']; 36 $_include_compiled .= $params['plugins_code'];
37 - $_include_compiled .= "<?php"; 37 + $_include_compiled .= "<?PHP ";
38 38
39 $this_varname = ((double)phpversion() >= 5.0) ? '_smarty' : 'this'; 39 $this_varname = ((double)phpversion() >= 5.0) ? '_smarty' : 'this';
40 for ($_i = 0, $_for_max = count($_match_source); $_i < $_for_max; $_i++) { 40 for ($_i = 0, $_for_max = count($_match_source); $_i < $_for_max; $_i++) {
@@ -42,9 +42,9 @@ function smarty_core_write_compiled_include($params, &$smarty) @@ -42,9 +42,9 @@ function smarty_core_write_compiled_include($params, &$smarty)
42 $source = $_match[4]; 42 $source = $_match[4];
43 if ($this_varname == '_smarty') { 43 if ($this_varname == '_smarty') {
44 /* rename $this to $_smarty in the sourcecode */ 44 /* rename $this to $_smarty in the sourcecode */
45 - $tokens = token_get_all('<?php ' . $_match[4]); 45 + $tokens = token_get_all('<?PHP ' . $_match[4]);
46 46
47 - /* remove trailing <?php */ 47 + /* remove trailing <?PHP */
48 $open_tag = ''; 48 $open_tag = '';
49 while ($tokens) { 49 while ($tokens) {
50 $token = array_shift($tokens); 50 $token = array_shift($tokens);
@@ -53,7 +53,7 @@ function smarty_core_write_compiled_include($params, &$smarty) @@ -53,7 +53,7 @@ function smarty_core_write_compiled_include($params, &$smarty)
53 } else { 53 } else {
54 $open_tag .= $token; 54 $open_tag .= $token;
55 } 55 }
56 - if ($open_tag == '<?php ') break; 56 + if ($open_tag == '<?PHP ') break;
57 } 57 }
58 58
59 for ($i=0, $count = count($tokens); $i < $count; $i++) { 59 for ($i=0, $count = count($tokens); $i < $count; $i++) {
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
@@ -98,9 +98,9 @@ function smarty_function_config_load($params, &$smarty) @@ -98,9 +98,9 @@ function smarty_function_config_load($params, &$smarty)
98 $_config_vars = array_merge($smarty->_conf_obj->get($_file), 98 $_config_vars = array_merge($smarty->_conf_obj->get($_file),
99 $smarty->_conf_obj->get($_file, $_section)); 99 $smarty->_conf_obj->get($_file, $_section));
100 if(function_exists('var_export')) { 100 if(function_exists('var_export')) {
101 - $_output = '<?php $_config_vars = ' . var_export($_config_vars, true) . '; ?>'; 101 + $_output = '<?PHP $_config_vars = ' . var_export($_config_vars, true) . '; ?>';
102 } else { 102 } else {
103 - $_output = '<?php $_config_vars = unserialize(\'' . strtr(serialize($_config_vars),array('\''=>'\\\'', '\\'=>'\\\\')) . '\'); ?>'; 103 + $_output = '<?PHP $_config_vars = unserialize(\'' . strtr(serialize($_config_vars),array('\''=>'\\\'', '\\'=>'\\\\')) . '\'); ?>';
104 } 104 }
105 $_params = (array('compile_path' => $_compile_file, 'compiled_content' => $_output, 'resource_timestamp' => $_params['resource_timestamp'])); 105 $_params = (array('compile_path' => $_compile_file, 'compiled_content' => $_output, 'resource_timestamp' => $_params['resource_timestamp']));
106 require_once(SMARTY_CORE_DIR . 'core.write_compiled_resource.php'); 106 require_once(SMARTY_CORE_DIR . 'core.write_compiled_resource.php');
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty plugin 3 * Smarty plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty shared plugin 3 * Smarty shared plugin
4 * @package Smarty 4 * @package Smarty
1 -<?php 1 +<?PHP
2 /** 2 /**
3 * Smarty shared plugin 3 * Smarty shared plugin
4 * @package Smarty 4 * @package Smarty
1 -<? 1 +<?PHP
2 //***************************************************************************** 2 //*****************************************************************************
3 //* 3 //*
4 //* プログラム名: 4 //* プログラム名:
1 -<?php 1 +<?PHP
2 header("Content-type: text/html; charset=shift_jis"); 2 header("Content-type: text/html; charset=shift_jis");
3 3
4 session_start(); 4 session_start();
1 -<?php 1 +<?PHP
2 header("Content-type: text/html; charset=shift-jis"); 2 header("Content-type: text/html; charset=shift-jis");
3 3
4 //セッション開始 4 //セッション開始
@@ -101,9 +101,9 @@ function load_screen(){ @@ -101,9 +101,9 @@ function load_screen(){
101 </HEAD> 101 </HEAD>
102 <BODY onLoad="return load_screen();"> 102 <BODY onLoad="return load_screen();">
103 <form name="event_cal"> 103 <form name="event_cal">
104 -<INPUT type ="hidden" name="main_year" value ="<? echo $main_year; ?>">  
105 -<INPUT type ="hidden" name="main_mon" value ="<? echo $main_mon; ?>">  
106 -<INPUT type ="hidden" name="syori" value ="<? echo $syori; ?>"> 104 +<INPUT type ="hidden" name="main_year" value ="<?PHP echo $main_year; ?>">
  105 +<INPUT type ="hidden" name="main_mon" value ="<?PHP echo $main_mon; ?>">
  106 +<INPUT type ="hidden" name="syori" value ="<?PHP echo $syori; ?>">
107 </form> 107 </form>
108 </BODY> 108 </BODY>
109 </HTML> 109 </HTML>
1 -<?php 1 +<?PHP
2 header("Content-type: text/html; charset=shift-jis"); 2 header("Content-type: text/html; charset=shift-jis");
3 3
4 include('./include/smarty.conf'); 4 include('./include/smarty.conf');
1 -<?php 1 +<?PHP
2 header("Content-type: text/html; charset=shift-jis"); 2 header("Content-type: text/html; charset=shift-jis");
3 3
4 include('./include/smarty.conf'); 4 include('./include/smarty.conf');
1 -<?php 1 +<?PHP
2 header("Content-type: text/html; charset=shift-jis"); 2 header("Content-type: text/html; charset=shift-jis");
3 3
4 //セッション開始 4 //セッション開始
@@ -189,9 +189,9 @@ function load_screen(){ @@ -189,9 +189,9 @@ function load_screen(){
189 </HEAD> 189 </HEAD>
190 <BODY onLoad="return load_screen();"> 190 <BODY onLoad="return load_screen();">
191 <form name="event_cal"> 191 <form name="event_cal">
192 -<INPUT type ="hidden" name="main_year" value ="<? echo $main_year; ?>">  
193 -<INPUT type ="hidden" name="main_mon" value ="<? echo $main_mon; ?>">  
194 -<INPUT type ="hidden" name="syori" value ="<? echo $syori; ?>"> 192 +<INPUT type ="hidden" name="main_year" value ="<?PHP echo $main_year; ?>">
  193 +<INPUT type ="hidden" name="main_mon" value ="<?PHP echo $main_mon; ?>">
  194 +<INPUT type ="hidden" name="syori" value ="<?PHP echo $syori; ?>">
195 </form> 195 </form>
196 </BODY> 196 </BODY>
197 </HTML> 197 </HTML>
1 -<? 1 +<?PHP
2 //***************************************************************************** 2 //*****************************************************************************
3 //* 3 //*
4 //* プログラム名:e-イベント 4 //* プログラム名:e-イベント
1 -<? 1 +<?PHP
2 //***************************************************************************** 2 //*****************************************************************************
3 //* 3 //*
4 //* プログラム名:e-イベント 4 //* プログラム名:e-イベント
1 -<?php 1 +<?PHP
2 function fun_csvread($month_dat,$file_name) 2 function fun_csvread($month_dat,$file_name)
3 { 3 {
4 4
@@ -20,7 +20,7 @@ @@ -20,7 +20,7 @@
20 } 20 }
21 ?> 21 ?>
22 22
23 -<?php 23 +<?PHP
24 //カレンダの日付及び曜日を生成する 24 //カレンダの日付及び曜日を生成する
25 function fun_date($f_date,$f_month,$f_year) 25 function fun_date($f_date,$f_month,$f_year)
26 { 26 {
@@ -69,7 +69,7 @@ @@ -69,7 +69,7 @@
69 } 69 }
70 ?> 70 ?>
71 71
72 -<?php 72 +<?PHP
73 function fun_printevent($month_dat,$dkey,$tbl_cnt) 73 function fun_printevent($month_dat,$dkey,$tbl_cnt)
74 { 74 {
75 global $pop_cnt; 75 global $pop_cnt;
1 -<?php 1 +<?PHP
2 // 二桁数字の先頭に0を付加する関数 2 // 二桁数字の先頭に0を付加する関数
3 function fun_addzero($str) 3 function fun_addzero($str)
4 { 4 {
1 -<?php 1 +<?PHP
2 function fun_csvread($month_dat,$file_name) 2 function fun_csvread($month_dat,$file_name)
3 { 3 {
4 4
@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
18 return $month_dat; 18 return $month_dat;
19 } 19 }
20 ?> 20 ?>
21 -<?php 21 +<?PHP
22 function userchk($usr_tbl,$usr_name,$usr_pword,$tbl_cnt) 22 function userchk($usr_tbl,$usr_name,$usr_pword,$tbl_cnt)
23 { 23 {
24 for($u_idx=1; $u_idx<=$tbl_cnt;$u_idx++) 24 for($u_idx=1; $u_idx<=$tbl_cnt;$u_idx++)
@@ -56,7 +56,7 @@ function userchk($usr_tbl,$usr_name,$usr_pword,$tbl_cnt) @@ -56,7 +56,7 @@ function userchk($usr_tbl,$usr_name,$usr_pword,$tbl_cnt)
56 return $found; 56 return $found;
57 } 57 }
58 ?> 58 ?>
59 -<?php 59 +<?PHP
60 function fun_errprint($err_msg,$hiduke){ 60 function fun_errprint($err_msg,$hiduke){
61 print("<html><head><script language=JavaScript>\n"); 61 print("<html><head><script language=JavaScript>\n");
62 print("<!--\n"); 62 print("<!--\n");
1 -<?php 1 +<?PHP
2 // タグ無効化等の処理をする関数 2 // タグ無効化等の処理をする関数
3 function convstr($str) 3 function convstr($str)
4 { 4 {
1 -<?php 1 +<?PHP
2 function fun_writetbl($buf,$cnt,$fp) 2 function fun_writetbl($buf,$cnt,$fp)
3 { 3 {
4 $tbl_lengs = 0; 4 $tbl_lengs = 0;
1 -<?php 1 +<?PHP
2 2
3 function fun_maketbl($i,$rank){ 3 function fun_maketbl($i,$rank){
4 switch ($i){ 4 switch ($i){
@@ -32,7 +32,7 @@ function fun_maketbl($i,$rank){ @@ -32,7 +32,7 @@ function fun_maketbl($i,$rank){
32 } 32 }
33 33
34 ?> 34 ?>
35 -<?php 35 +<?PHP
36 36
37 function fun_makeline($i,$color1,$color2){ 37 function fun_makeline($i,$color1,$color2){
38 // 外枠のテーブル作成(枠線の色部) 38 // 外枠のテーブル作成(枠線の色部)
1 -<? 1 +<?PHP
2 //***************************************************************************** 2 //*****************************************************************************
3 //* 3 //*
4 //* プログラム名:e-イベント 4 //* プログラム名:e-イベント
1 -<? 1 +<?PHP
2 //***************************************************************************** 2 //*****************************************************************************
3 //* 3 //*
4 //* プログラム名:e-イベント 4 //* プログラム名:e-イベント
1 -<? 1 +<?PHP
2 //***************************************************************************** 2 //*****************************************************************************
3 //* 3 //*
4 //* プログラム名:e-イベント 4 //* プログラム名:e-イベント
1 -<? 1 +<?PHP
2 //***************************************************************************** 2 //*****************************************************************************
3 //* 3 //*
4 //* プログラム名:e-イベント 4 //* プログラム名:e-イベント
1 -<?php 1 +<?PHP
2 //***************************************************************************** 2 //*****************************************************************************
3 //* 3 //*
4 //* プログラム名:DataBase Connection 4 //* プログラム名:DataBase Connection
1 -<?php 1 +<?PHP
2 /************************************************************************* 2 /*************************************************************************
3 ________________________________ 3 ________________________________
4 4
1 -<?php 1 +<?PHP
2 //****************************************************************************** 2 //******************************************************************************
3 //* セッションスタート処理 3 //* セッションスタート処理
4 //* 4 //*
1 -<?php 1 +<?PHP
2 //ファイル形式:UTF-8 2 //ファイル形式:UTF-8
3 require_once('./Smarty/Smarty.class.php'); 3 require_once('./Smarty/Smarty.class.php');
4 $o_smarty=new Smarty(); 4 $o_smarty=new Smarty();
1 -<? 1 +<?PHP
2 2
3 $_SYS_ROOT_URL_ = "http://sys.e-event.net"; 3 $_SYS_ROOT_URL_ = "http://sys.e-event.net";
4 $_USR_ROOT_URL_ = "http://calendar.e-event.net"; 4 $_USR_ROOT_URL_ = "http://calendar.e-event.net";
1 -<?php 1 +<?PHP
2 //***************************************************************************** 2 //*****************************************************************************
3 //* 3 //*
4 //* プログラム名:ログイン画面 4 //* プログラム名:ログイン画面
1 -<? 1 +<?PHP
2 //***************************************************************************** 2 //*****************************************************************************
3 //* 3 //*
4 //* プログラム名:e-イベント 4 //* プログラム名:e-イベント
1 -<? 1 +<?PHP
2 //***************************************************************************** 2 //*****************************************************************************
3 //* 3 //*
4 //* プログラム名:e-イベント 4 //* プログラム名:e-イベント
1 -<?php 1 +<?PHP
2 //***************************************************************************** 2 //*****************************************************************************
3 //* 3 //*
4 //* プログラム名:ログイン画面 4 //* プログラム名:ログイン画面
1 -<?php 1 +<?PHP
2 header("Content-type: text/html; charset=shift_jis"); 2 header("Content-type: text/html; charset=shift_jis");
3 3
4 session_start(); 4 session_start();
1 -<? 1 +<?PHP
2 //***************************************************************************** 2 //*****************************************************************************
3 //* 3 //*
4 //* プログラム名:e-イベント 4 //* プログラム名:e-イベント
1 -<? 1 +<?PHP
2 //***************************************************************************** 2 //*****************************************************************************
3 //* 3 //*
4 //* プログラム名:e-イベント 4 //* プログラム名:e-イベント
1 -<? 1 +<?PHP
2 //***************************************************************************** 2 //*****************************************************************************
3 //* 3 //*
4 //* プログラム名:e-イベント 4 //* プログラム名:e-イベント
1 -<? 1 +<?PHP
2 //***************************************************************************** 2 //*****************************************************************************
3 //* 3 //*
4 //* プログラム名:e-イベント 4 //* プログラム名:e-イベント
1 -<?php 1 +<?PHP
2 //***************************************************************************** 2 //*****************************************************************************
3 //* 3 //*
4 //* プログラム名:e-イベント 4 //* プログラム名:e-イベント
1 -<?php 1 +<?PHP
2 //***************************************************************************** 2 //*****************************************************************************
3 //* 3 //*
4 //* プログラム名:DataBase Connection 4 //* プログラム名:DataBase Connection
1 -<?php 1 +<?PHP
2 /************************************************************************* 2 /*************************************************************************
3 ________________________________ 3 ________________________________
4 4
1 -<?php 1 +<?PHP
2 // +-----------------------------------------------------------------------+ 2 // +-----------------------------------------------------------------------+
3 // | Copyright (c) 2002 Richard Heyes | 3 // | Copyright (c) 2002 Richard Heyes |
4 // | All rights reserved. | 4 // | All rights reserved. |
1 -<?php 1 +<?PHP
2 // +-----------------------------------------------------------------------+ 2 // +-----------------------------------------------------------------------+
3 // | Copyright (c) 2002 Richard Heyes | 3 // | Copyright (c) 2002 Richard Heyes |
4 // | All rights reserved. | 4 // | All rights reserved. |
1 -<?php 1 +<?PHP
2 //***************************************************************************** 2 //*****************************************************************************
3 //* 3 //*
4 //* プログラム名:e-イベント 4 //* プログラム名:e-イベント
1 -<?php 1 +<?PHP
2 //***************************************************************************** 2 //*****************************************************************************
3 //* 3 //*
4 //* プログラム名:e-gru 4 //* プログラム名:e-gru
@@ -34,7 +34,7 @@ @@ -34,7 +34,7 @@
34 <title>e-イベント</title> 34 <title>e-イベント</title>
35 <link href="./css/global.css" rel="stylesheet" type="text/css"> 35 <link href="./css/global.css" rel="stylesheet" type="text/css">
36 <SCRIPT Language="Javascript" src="./include/user_input.inc"></SCRIPT> 36 <SCRIPT Language="Javascript" src="./include/user_input.inc"></SCRIPT>
37 -<? 37 +<?PHP
38 include("./include/user_conf.inc"); 38 include("./include/user_conf.inc");
39 ?> 39 ?>
40 </head> 40 </head>
@@ -45,29 +45,29 @@ include("./include/user_conf.inc"); @@ -45,29 +45,29 @@ include("./include/user_conf.inc");
45 <FORM METHOD="POST"> 45 <FORM METHOD="POST">
46 <h2>登録内容確認画面</h2> 46 <h2>登録内容確認画面</h2>
47 <TABLE width="100%" align="center" cellpadding="4" cellspacing="1" bgcolor="#72B6F7"> 47 <TABLE width="100%" align="center" cellpadding="4" cellspacing="1" bgcolor="#72B6F7">
48 -<? if($intChkFlg!=0){ ?> 48 +<?PHP if($intChkFlg!=0){ ?>
49 <FONT size="4" color=#FF0000><B>※このグループIDは既に使われています</B></FONT><br> 49 <FONT size="4" color=#FF0000><B>※このグループIDは既に使われています</B></FONT><br>
50 -<? } ?> 50 +<?PHP } ?>
51 <B><FONT size="2" color=#FF0000>*は入力必須項目です</FONT></B> 51 <B><FONT size="2" color=#FF0000>*は入力必須項目です</FONT></B>
52 <TR class="top_font80"> 52 <TR class="top_font80">
53 <th align="left" bgcolor="#DAEBFC" width="140"><strong>グループID<FONT size="2" color=#FF0000></FONT></strong></th> 53 <th align="left" bgcolor="#DAEBFC" width="140"><strong>グループID<FONT size="2" color=#FF0000></FONT></strong></th>
54 - <TD bgcolor="#ffffff"><B><FONT size="2"><? echo $group_id ?></FONT></B></TD> 54 + <TD bgcolor="#ffffff"><B><FONT size="2"><?PHP echo $group_id ?></FONT></B></TD>
55 </TR> 55 </TR>
56 <TR class="top_font80"> 56 <TR class="top_font80">
57 <th align="left" bgcolor="#DAEBFC"><strong>メールアドレス<FONT size="2" color=#FF0000></FONT></strong></th> 57 <th align="left" bgcolor="#DAEBFC"><strong>メールアドレス<FONT size="2" color=#FF0000></FONT></strong></th>
58 - <TD bgcolor="#ffffff"><strong><? echo $e_mail ?></strong></TD> 58 + <TD bgcolor="#ffffff"><strong><?PHP echo $e_mail ?></strong></TD>
59 </TR> 59 </TR>
60 <TR class="top_font80"> 60 <TR class="top_font80">
61 <th align="left" bgcolor="#DAEBFC"><strong>ご利用団体名<FONT size="2" color=#FF0000></FONT></strong></th> 61 <th align="left" bgcolor="#DAEBFC"><strong>ご利用団体名<FONT size="2" color=#FF0000></FONT></strong></th>
62 - <TD bgcolor="#ffffff"><strong><? echo $company_name ?></strong></TD> 62 + <TD bgcolor="#ffffff"><strong><?PHP echo $company_name ?></strong></TD>
63 </TR> 63 </TR>
64 <tr class="top_font80"> 64 <tr class="top_font80">
65 <th valign="top" align="left" bgcolor="#DAEBFC"><strong>住所<BR></strong></th> 65 <th valign="top" align="left" bgcolor="#DAEBFC"><strong>住所<BR></strong></th>
66 - <td valign="top" align="left" bgcolor="#ffffff"><strong><? echo $address1 ?> </strong></td> 66 + <td valign="top" align="left" bgcolor="#ffffff"><strong><?PHP echo $address1 ?> </strong></td>
67 </tr> 67 </tr>
68 <tr class="top_font80"> 68 <tr class="top_font80">
69 <th valign="top" align="left" bgcolor="#DAEBFC"><strong>このサービスを<br>どこで知りましたか?</strong></th> 69 <th valign="top" align="left" bgcolor="#DAEBFC"><strong>このサービスを<br>どこで知りましたか?</strong></th>
70 -<? 70 +<?PHP
71 $KnowData=""; 71 $KnowData="";
72 if($know1 != ""){ 72 if($know1 != ""){
73 $KnowData=$KnowData."メール<br>"; 73 $KnowData=$KnowData."メール<br>";
@@ -103,59 +103,59 @@ include("./include/user_conf.inc"); @@ -103,59 +103,59 @@ include("./include/user_conf.inc");
103 $KnowData=$KnowData."その他(".$other.")<br>"; 103 $KnowData=$KnowData."その他(".$other.")<br>";
104 } 104 }
105 ?> 105 ?>
106 - <TD bgcolor="#ffffff"><strong><? echo nl2br($KnowData) ?></strong></td> 106 + <TD bgcolor="#ffffff"><strong><?PHP echo nl2br($KnowData) ?></strong></td>
107 </tr> 107 </tr>
108 </TABLE><BR> 108 </TABLE><BR>
109 <TABLE border="0" width="100%"> 109 <TABLE border="0" width="100%">
110 <TR> 110 <TR>
111 <td align="left"> 111 <td align="left">
112 <input name="back_gm" type="button" onclick="return modoru();" value=" 入力画面へ戻る " > 112 <input name="back_gm" type="button" onclick="return modoru();" value=" 入力画面へ戻る " >
113 -<? if($intChkFlg==0){ ?> 113 +<?PHP if($intChkFlg==0){ ?>
114 <input name="next_gm" type="button" onclick="return toroku();" value=" 登 録 " > 114 <input name="next_gm" type="button" onclick="return toroku();" value=" 登 録 " >
115 -<? } ?> 115 +<?PHP } ?>
116 </TD> 116 </TD>
117 </TR> 117 </TR>
118 </TABLE> 118 </TABLE>
119 - <input type="hidden" name="intro_cd" value="<? echo $intro_cd ?>">  
120 - <input type="hidden" name="intro_cd1" value="<? echo $intro_cd1 ?>">  
121 - <input type="hidden" name="intro_cd2" value="<? echo $intro_cd2 ?>">  
122 - <input type="hidden" name="group_id" value="<? echo $group_id ?>">  
123 - <input type="hidden" name="group_pass" value="<? echo $group_pass ?>">  
124 - <input type="hidden" name="e_mail" value="<? echo $e_mail ?>">  
125 - <input type="hidden" name="company_name" value="<? echo $company_name ?>">  
126 - <input type="hidden" name="user_name" value="<? echo $user_name ?>">  
127 - <input type="hidden" name="yubin_no1" value="<? echo $yubin_no1 ?>">  
128 - <input type="hidden" name="yubin_no2" value="<? echo $yubin_no2 ?>">  
129 - <input type="hidden" name="kind" value="<? echo $kind ?>">  
130 - <input type="hidden" name="age1" value="<? echo $age1 ?>">  
131 - <input type="hidden" name="age2" value="<? echo $age2 ?>">  
132 - <input type="hidden" name="age3" value="<? echo $age3 ?>">  
133 - <input type="hidden" name="age4" value="<? echo $age4 ?>">  
134 - <input type="hidden" name="age5" value="<? echo $age5 ?>">  
135 - <input type="hidden" name="age6" value="<? echo $age6 ?>">  
136 - <input type="hidden" name="disp_age" value="<? echo $disp_age ?>">  
137 - <input type="hidden" name="sei1" value="<? echo $sei1 ?>">  
138 - <input type="hidden" name="sei2" value="<? echo $sei2 ?>">  
139 - <input type="hidden" name="disp_sei" value="<? echo $disp_sei ?>">  
140 - <input type="hidden" name="use" value="<? echo $use ?>">  
141 - <input type="hidden" name="address1" value="<? echo $address1 ?>">  
142 - <input type="hidden" name="address2" value="<? echo $address2 ?>">  
143 - <input type="hidden" name="address3" value="<? echo $address3 ?>">  
144 - <input type="hidden" name="address4" value="<? echo $address4 ?>">  
145 - <input type="hidden" name="know1" value="<? echo $know1 ?>">  
146 - <input type="hidden" name="know2" value="<? echo $know2 ?>">  
147 - <input type="hidden" name="know3" value="<? echo $know3 ?>">  
148 - <input type="hidden" name="know4" value="<? echo $know4 ?>">  
149 - <input type="hidden" name="know5" value="<? echo $know5 ?>">  
150 - <input type="hidden" name="know6" value="<? echo $know6 ?>">  
151 - <input type="hidden" name="know7" value="<? echo $know7 ?>">  
152 - <input type="hidden" name="know8" value="<? echo $know8 ?>">  
153 - <input type="hidden" name="know9" value="<? echo $know9 ?>">  
154 - <input type="hidden" name="know10" value="<? echo $know10 ?>">  
155 - <input type="hidden" name="know11" value="<? echo $know11 ?>">  
156 - <input type="hidden" name="other" value="<? echo $other?>">  
157 - <input type="hidden" name="Syoukai" value="<? echo $Syoukai?>">  
158 - <input type="hidden" name="Syoukai2" value="<? echo $Syoukai2?>"> 119 + <input type="hidden" name="intro_cd" value="<?PHP echo $intro_cd ?>">
  120 + <input type="hidden" name="intro_cd1" value="<?PHP echo $intro_cd1 ?>">
  121 + <input type="hidden" name="intro_cd2" value="<?PHP echo $intro_cd2 ?>">
  122 + <input type="hidden" name="group_id" value="<?PHP echo $group_id ?>">
  123 + <input type="hidden" name="group_pass" value="<?PHP echo $group_pass ?>">
  124 + <input type="hidden" name="e_mail" value="<?PHP echo $e_mail ?>">
  125 + <input type="hidden" name="company_name" value="<?PHP echo $company_name ?>">
  126 + <input type="hidden" name="user_name" value="<?PHP echo $user_name ?>">
  127 + <input type="hidden" name="yubin_no1" value="<?PHP echo $yubin_no1 ?>">
  128 + <input type="hidden" name="yubin_no2" value="<?PHP echo $yubin_no2 ?>">
  129 + <input type="hidden" name="kind" value="<?PHP echo $kind ?>">
  130 + <input type="hidden" name="age1" value="<?PHP echo $age1 ?>">
  131 + <input type="hidden" name="age2" value="<?PHP echo $age2 ?>">
  132 + <input type="hidden" name="age3" value="<?PHP echo $age3 ?>">
  133 + <input type="hidden" name="age4" value="<?PHP echo $age4 ?>">
  134 + <input type="hidden" name="age5" value="<?PHP echo $age5 ?>">
  135 + <input type="hidden" name="age6" value="<?PHP echo $age6 ?>">
  136 + <input type="hidden" name="disp_age" value="<?PHP echo $disp_age ?>">
  137 + <input type="hidden" name="sei1" value="<?PHP echo $sei1 ?>">
  138 + <input type="hidden" name="sei2" value="<?PHP echo $sei2 ?>">
  139 + <input type="hidden" name="disp_sei" value="<?PHP echo $disp_sei ?>">
  140 + <input type="hidden" name="use" value="<?PHP echo $use ?>">
  141 + <input type="hidden" name="address1" value="<?PHP echo $address1 ?>">
  142 + <input type="hidden" name="address2" value="<?PHP echo $address2 ?>">
  143 + <input type="hidden" name="address3" value="<?PHP echo $address3 ?>">
  144 + <input type="hidden" name="address4" value="<?PHP echo $address4 ?>">
  145 + <input type="hidden" name="know1" value="<?PHP echo $know1 ?>">
  146 + <input type="hidden" name="know2" value="<?PHP echo $know2 ?>">
  147 + <input type="hidden" name="know3" value="<?PHP echo $know3 ?>">
  148 + <input type="hidden" name="know4" value="<?PHP echo $know4 ?>">
  149 + <input type="hidden" name="know5" value="<?PHP echo $know5 ?>">
  150 + <input type="hidden" name="know6" value="<?PHP echo $know6 ?>">
  151 + <input type="hidden" name="know7" value="<?PHP echo $know7 ?>">
  152 + <input type="hidden" name="know8" value="<?PHP echo $know8 ?>">
  153 + <input type="hidden" name="know9" value="<?PHP echo $know9 ?>">
  154 + <input type="hidden" name="know10" value="<?PHP echo $know10 ?>">
  155 + <input type="hidden" name="know11" value="<?PHP echo $know11 ?>">
  156 + <input type="hidden" name="other" value="<?PHP echo $other?>">
  157 + <input type="hidden" name="Syoukai" value="<?PHP echo $Syoukai?>">
  158 + <input type="hidden" name="Syoukai2" value="<?PHP echo $Syoukai2?>">
159 </FORM> 159 </FORM>
160 </td> 160 </td>
161 </tr> 161 </tr>
1 -<?php 1 +<?PHP
2 //***************************************************************************** 2 //*****************************************************************************
3 //* 3 //*
4 //* プログラム名:e-gru 4 //* プログラム名:e-gru
@@ -46,7 +46,7 @@ if($Syoukai_code2!=""){ @@ -46,7 +46,7 @@ if($Syoukai_code2!=""){
46 <span class="account"><br><b>(半角英数字のみ)</b></span> 46 <span class="account"><br><b>(半角英数字のみ)</b></span>
47 </th> 47 </th>
48 <td bgcolor="#ffffff"> 48 <td bgcolor="#ffffff">
49 - <input maxlength="20" size="30" value="<? echo $group_id ?>" name="group_id"> 49 + <input maxlength="20" size="30" value="<?PHP echo $group_id ?>" name="group_id">
50 </td> 50 </td>
51 </tr> 51 </tr>
52 <tr> 52 <tr>
@@ -61,7 +61,7 @@ if($Syoukai_code2!=""){ @@ -61,7 +61,7 @@ if($Syoukai_code2!=""){
61 <th bgcolor="#DAEBFC" align="left"> 61 <th bgcolor="#DAEBFC" align="left">
62 <span class="top_font80"><b>メールアドレス</b></span><span class="account"><b></b></span> 62 <span class="top_font80"><b>メールアドレス</b></span><span class="account"><b></b></span>
63 </th> 63 </th>
64 - <td bgcolor="#ffffff"><input maxlength="50" size="55" value="<? echo $e_mail ?>" name="e_mail"> 64 + <td bgcolor="#ffffff"><input maxlength="50" size="55" value="<?PHP echo $e_mail ?>" name="e_mail">
65 <br> 65 <br>
66 <span class="attention"></span> 66 <span class="attention"></span>
67 </td> 67 </td>
@@ -71,7 +71,7 @@ if($Syoukai_code2!=""){ @@ -71,7 +71,7 @@ if($Syoukai_code2!=""){
71 <span class="top_font80"><b>ご利用団体名</b></span><span class="account"><b></b></span> 71 <span class="top_font80"><b>ご利用団体名</b></span><span class="account"><b></b></span>
72 </th> 72 </th>
73 <td bgcolor="#ffffff"> 73 <td bgcolor="#ffffff">
74 - <input maxlength="25" size="55" type="text" name="company_name" value="<? echo $company_name ?>"> 74 + <input maxlength="25" size="55" type="text" name="company_name" value="<?PHP echo $company_name ?>">
75 </td> 75 </td>
76 </tr> 76 </tr>
77 <tr> 77 <tr>
@@ -82,84 +82,84 @@ if($Syoukai_code2!=""){ @@ -82,84 +82,84 @@ if($Syoukai_code2!=""){
82 <td bgcolor="#ffffff"> 82 <td bgcolor="#ffffff">
83 <select name="address1"> 83 <select name="address1">
84 <option value="">------</option> 84 <option value="">------</option>
85 - <option value="北海道" <? if ($address1=="北海道"){echo "selected";} ?>>北海道</option>  
86 - <option value="青森県" <? if ($address1=="青森県"){echo "selected";} ?>>青森県</option>  
87 - <option value="岩手県" <? if ($address1=="岩手県"){echo "selected";} ?>>岩手県</option>  
88 - <option value="宮城県" <? if ($address1=="宮城県"){echo "selected";} ?>>宮城県</option>  
89 - <option value="秋田県" <? if ($address1=="秋田県"){echo "selected";} ?>>秋田県</option>  
90 - <option value="山形県" <? if ($address1=="山形県"){echo "selected";} ?>>山形県</option>  
91 - <option value="福島県" <? if ($address1=="福島県"){echo "selected";} ?>>福島県</option>  
92 - <option value="茨城県" <? if ($address1=="茨城県"){echo "selected";} ?>>茨城県</option>  
93 - <option value="栃木県" <? if ($address1=="栃木県"){echo "selected";} ?>>栃木県</option>  
94 - <option value="群馬県" <? if ($address1=="群馬県"){echo "selected";} ?>>群馬県</option>  
95 - <option value="埼玉県" <? if ($address1=="埼玉県"){echo "selected";} ?>>埼玉県</option>  
96 - <option value="千葉県" <? if ($address1=="千葉県"){echo "selected";} ?>>千葉県</option>  
97 - <option value="東京都" <? if ($address1=="東京都"){echo "selected";} ?>>東京都</option>  
98 - <option value="神奈川県" <? if ($address1=="神奈川県"){echo "selected";} ?>>神奈川県</option>  
99 - <option value="山梨県" <? if ($address1=="山梨県"){echo "selected";} ?>>山梨県</option>  
100 - <option value="長野県" <? if ($address1=="長野県"){echo "selected";} ?>>長野県</option>  
101 - <option value="新潟県" <? if ($address1=="新潟県"){echo "selected";} ?>>新潟県</option>  
102 - <option value="富山県" <? if ($address1=="富山県"){echo "selected";} ?>>富山県</option>  
103 - <option value="石川県" <? if ($address1=="石川県"){echo "selected";} ?>>石川県</option>  
104 - <option value="福井県" <? if ($address1=="福井県"){echo "selected";} ?>>福井県</option>  
105 - <option value="岐阜県" <? if ($address1=="岐阜県"){echo "selected";} ?>>岐阜県</option>  
106 - <option value="静岡県" <? if ($address1=="静岡県"){echo "selected";} ?>>静岡県</option>  
107 - <option value="愛知県" <? if ($address1=="愛知県"){echo "selected";} ?>>愛知県</option>  
108 - <option value="三重県" <? if ($address1=="三重県"){echo "selected";} ?>>三重県</option>  
109 - <option value="滋賀県" <? if ($address1=="滋賀県"){echo "selected";} ?>>滋賀県</option>  
110 - <option value="京都府" <? if ($address1=="京都府"){echo "selected";} ?>>京都府</option>  
111 - <option value="大阪府" <? if ($address1=="大阪府"){echo "selected";} ?>>大阪府</option>  
112 - <option value="兵庫県" <? if ($address1=="兵庫県"){echo "selected";} ?>>兵庫県</option>  
113 - <option value="奈良県" <? if ($address1=="奈良県"){echo "selected";} ?>>奈良県</option>  
114 - <option value="和歌山県" <? if ($address1=="和歌山県"){echo "selected";} ?>>和歌山県</option>  
115 - <option value="鳥取県" <? if ($address1=="鳥取県"){echo "selected";} ?>>鳥取県</option>  
116 - <option value="島根県" <? if ($address1=="島根県"){echo "selected";} ?>>島根県</option>  
117 - <option value="岡山県" <? if ($address1=="岡山県"){echo "selected";} ?>>岡山県</option>  
118 - <option value="広島県" <? if ($address1=="広島県"){echo "selected";} ?>>広島県</option>  
119 - <option value="山口県" <? if ($address1=="山口県"){echo "selected";} ?>>山口県</option>  
120 - <option value="徳島県" <? if ($address1=="徳島県"){echo "selected";} ?>>徳島県</option>  
121 - <option value="香川県" <? if ($address1=="香川県"){echo "selected";} ?>>香川県</option>  
122 - <option value="愛媛県" <? if ($address1=="愛媛県"){echo "selected";} ?>>愛媛県</option>  
123 - <option value="高知県" <? if ($address1=="高知県"){echo "selected";} ?>>高知県</option>  
124 - <option value="福岡県" <? if ($address1=="福岡県"){echo "selected";} ?>>福岡県</option>  
125 - <option value="佐賀県" <? if ($address1=="佐賀県"){echo "selected";} ?>>佐賀県</option>  
126 - <option value="長崎県" <? if ($address1=="長崎県"){echo "selected";} ?>>長崎県</option>  
127 - <option value="熊本県" <? if ($address1=="熊本県"){echo "selected";} ?>>熊本県</option>  
128 - <option value="大分県" <? if ($address1=="大分県"){echo "selected";} ?>>大分県</option>  
129 - <option value="宮崎県" <? if ($address1=="宮崎県"){echo "selected";} ?>>宮崎県</option>  
130 - <option value="鹿児島県" <? if ($address1=="鹿児島県"){echo "selected";} ?>>鹿児島県</option>  
131 - <option value="沖縄県" <? if ($address1=="沖縄県"){echo "selected";} ?>>沖縄県</option> 85 + <option value="北海道" <?PHP if ($address1=="北海道"){echo "selected";} ?>>北海道</option>
  86 + <option value="青森県" <?PHP if ($address1=="青森県"){echo "selected";} ?>>青森県</option>
  87 + <option value="岩手県" <?PHP if ($address1=="岩手県"){echo "selected";} ?>>岩手県</option>
  88 + <option value="宮城県" <?PHP if ($address1=="宮城県"){echo "selected";} ?>>宮城県</option>
  89 + <option value="秋田県" <?PHP if ($address1=="秋田県"){echo "selected";} ?>>秋田県</option>
  90 + <option value="山形県" <?PHP if ($address1=="山形県"){echo "selected";} ?>>山形県</option>
  91 + <option value="福島県" <?PHP if ($address1=="福島県"){echo "selected";} ?>>福島県</option>
  92 + <option value="茨城県" <?PHP if ($address1=="茨城県"){echo "selected";} ?>>茨城県</option>
  93 + <option value="栃木県" <?PHP if ($address1=="栃木県"){echo "selected";} ?>>栃木県</option>
  94 + <option value="群馬県" <?PHP if ($address1=="群馬県"){echo "selected";} ?>>群馬県</option>
  95 + <option value="埼玉県" <?PHP if ($address1=="埼玉県"){echo "selected";} ?>>埼玉県</option>
  96 + <option value="千葉県" <?PHP if ($address1=="千葉県"){echo "selected";} ?>>千葉県</option>
  97 + <option value="東京都" <?PHP if ($address1=="東京都"){echo "selected";} ?>>東京都</option>
  98 + <option value="神奈川県" <?PHP if ($address1=="神奈川県"){echo "selected";} ?>>神奈川県</option>
  99 + <option value="山梨県" <?PHP if ($address1=="山梨県"){echo "selected";} ?>>山梨県</option>
  100 + <option value="長野県" <?PHP if ($address1=="長野県"){echo "selected";} ?>>長野県</option>
  101 + <option value="新潟県" <?PHP if ($address1=="新潟県"){echo "selected";} ?>>新潟県</option>
  102 + <option value="富山県" <?PHP if ($address1=="富山県"){echo "selected";} ?>>富山県</option>
  103 + <option value="石川県" <?PHP if ($address1=="石川県"){echo "selected";} ?>>石川県</option>
  104 + <option value="福井県" <?PHP if ($address1=="福井県"){echo "selected";} ?>>福井県</option>
  105 + <option value="岐阜県" <?PHP if ($address1=="岐阜県"){echo "selected";} ?>>岐阜県</option>
  106 + <option value="静岡県" <?PHP if ($address1=="静岡県"){echo "selected";} ?>>静岡県</option>
  107 + <option value="愛知県" <?PHP if ($address1=="愛知県"){echo "selected";} ?>>愛知県</option>
  108 + <option value="三重県" <?PHP if ($address1=="三重県"){echo "selected";} ?>>三重県</option>
  109 + <option value="滋賀県" <?PHP if ($address1=="滋賀県"){echo "selected";} ?>>滋賀県</option>
  110 + <option value="京都府" <?PHP if ($address1=="京都府"){echo "selected";} ?>>京都府</option>
  111 + <option value="大阪府" <?PHP if ($address1=="大阪府"){echo "selected";} ?>>大阪府</option>
  112 + <option value="兵庫県" <?PHP if ($address1=="兵庫県"){echo "selected";} ?>>兵庫県</option>
  113 + <option value="奈良県" <?PHP if ($address1=="奈良県"){echo "selected";} ?>>奈良県</option>
  114 + <option value="和歌山県" <?PHP if ($address1=="和歌山県"){echo "selected";} ?>>和歌山県</option>
  115 + <option value="鳥取県" <?PHP if ($address1=="鳥取県"){echo "selected";} ?>>鳥取県</option>
  116 + <option value="島根県" <?PHP if ($address1=="島根県"){echo "selected";} ?>>島根県</option>
  117 + <option value="岡山県" <?PHP if ($address1=="岡山県"){echo "selected";} ?>>岡山県</option>
  118 + <option value="広島県" <?PHP if ($address1=="広島県"){echo "selected";} ?>>広島県</option>
  119 + <option value="山口県" <?PHP if ($address1=="山口県"){echo "selected";} ?>>山口県</option>
  120 + <option value="徳島県" <?PHP if ($address1=="徳島県"){echo "selected";} ?>>徳島県</option>
  121 + <option value="香川県" <?PHP if ($address1=="香川県"){echo "selected";} ?>>香川県</option>
  122 + <option value="愛媛県" <?PHP if ($address1=="愛媛県"){echo "selected";} ?>>愛媛県</option>
  123 + <option value="高知県" <?PHP if ($address1=="高知県"){echo "selected";} ?>>高知県</option>
  124 + <option value="福岡県" <?PHP if ($address1=="福岡県"){echo "selected";} ?>>福岡県</option>
  125 + <option value="佐賀県" <?PHP if ($address1=="佐賀県"){echo "selected";} ?>>佐賀県</option>
  126 + <option value="長崎県" <?PHP if ($address1=="長崎県"){echo "selected";} ?>>長崎県</option>
  127 + <option value="熊本県" <?PHP if ($address1=="熊本県"){echo "selected";} ?>>熊本県</option>
  128 + <option value="大分県" <?PHP if ($address1=="大分県"){echo "selected";} ?>>大分県</option>
  129 + <option value="宮崎県" <?PHP if ($address1=="宮崎県"){echo "selected";} ?>>宮崎県</option>
  130 + <option value="鹿児島県" <?PHP if ($address1=="鹿児島県"){echo "selected";} ?>>鹿児島県</option>
  131 + <option value="沖縄県" <?PHP if ($address1=="沖縄県"){echo "selected";} ?>>沖縄県</option>
132 </select> 132 </select>
133 </td> 133 </td>
134 </tr> 134 </tr>
135 <TR> 135 <TR>
136 <th bgcolor="#DAEBFC" align="left"><span class="top_font80"><b>このサービスを<br>どこで知りましたか?</b></span></th> 136 <th bgcolor="#DAEBFC" align="left"><span class="top_font80"><b>このサービスを<br>どこで知りましたか?</b></span></th>
137 - <TD bgcolor="#ffffff"> <input type="checkbox" name="know1" id="know1" value="1" <?php if($know1!=""){echo "checked";} ?>> 137 + <TD bgcolor="#ffffff"> <input type="checkbox" name="know1" id="know1" value="1" <?PHP if($know1!=""){echo "checked";} ?>>
138 <label for="know1" title="メール">メール</label> 138 <label for="know1" title="メール">メール</label>
139 - <input type="checkbox" name="know2" id="know2" value="1" <?php if($know2!=""){echo "checked";} ?>> 139 + <input type="checkbox" name="know2" id="know2" value="1" <?PHP if($know2!=""){echo "checked";} ?>>
140 <label for="know2" title="検索エンジン">Yahoo検索エンジン</label> 140 <label for="know2" title="検索エンジン">Yahoo検索エンジン</label>
141 - <input type="checkbox" name="know3" id="know3" value="1" <?php if($know3!=""){echo "checked";} ?>> 141 + <input type="checkbox" name="know3" id="know3" value="1" <?PHP if($know3!=""){echo "checked";} ?>>
142 <label for="know3" title="検索エンジン">Google検索エンジン</label> 142 <label for="know3" title="検索エンジン">Google検索エンジン</label>
143 <br> 143 <br>
144 - <input type="checkbox" name="know4" id="know4" value="1" <?php if($know4!=""){echo "checked";} ?>> 144 + <input type="checkbox" name="know4" id="know4" value="1" <?PHP if($know4!=""){echo "checked";} ?>>
145 <label for="know4" title="チラシ">チラシ</label> 145 <label for="know4" title="チラシ">チラシ</label>
146 - <input type="checkbox" name="know5" id="know5" value="1" <?php if($know5!=""){echo "checked";} ?>> 146 + <input type="checkbox" name="know5" id="know5" value="1" <?PHP if($know5!=""){echo "checked";} ?>>
147 <label for="know5" title="口コミ">口コミ</label> 147 <label for="know5" title="口コミ">口コミ</label>
148 - <input type="checkbox" name="know6" id="know6" value="1" <?php if($know6!=""){echo "checked";} ?>> 148 + <input type="checkbox" name="know6" id="know6" value="1" <?PHP if($know6!=""){echo "checked";} ?>>
149 <label for="know6" title="弊社ホームページ">弊社ホームページ</label> 149 <label for="know6" title="弊社ホームページ">弊社ホームページ</label>
150 - <input type="checkbox" name="know7" id="know7" value="1" <?php if($know7!=""){echo "checked";} ?>> 150 + <input type="checkbox" name="know7" id="know7" value="1" <?PHP if($know7!=""){echo "checked";} ?>>
151 <label for="know7" title="紹介">紹介</label> 151 <label for="know7" title="紹介">紹介</label>
152 <br> 152 <br>
153 - <input type="checkbox" name="know8" id="know8" value="1" <?php if($know8!=""){echo "checked";} ?>> 153 + <input type="checkbox" name="know8" id="know8" value="1" <?PHP if($know8!=""){echo "checked";} ?>>
154 <label for="know8" title="雑誌">雑誌</label> 154 <label for="know8" title="雑誌">雑誌</label>
155 - <input type="checkbox" name="know9" id="know9" value="1" <?php if($know9!=""){echo "checked";} ?>> 155 + <input type="checkbox" name="know9" id="know9" value="1" <?PHP if($know9!=""){echo "checked";} ?>>
156 <label for="know9" title="新聞">新聞</label> 156 <label for="know9" title="新聞">新聞</label>
157 - <input type="checkbox" name="know10" id="know10" value="1" <?php if($know10!=""){echo "checked";} ?>> 157 + <input type="checkbox" name="know10" id="know10" value="1" <?PHP if($know10!=""){echo "checked";} ?>>
158 <label for="know10" title="FAX">FAX</label> 158 <label for="know10" title="FAX">FAX</label>
159 <br> 159 <br>
160 - <input type="checkbox" name="know11" id="know11" value="1" <?php if($know11!=""){echo "checked";} ?>> 160 + <input type="checkbox" name="know11" id="know11" value="1" <?PHP if($know11!=""){echo "checked";} ?>>
161 <label for="know11" title="その他">その他</label> 161 <label for="know11" title="その他">その他</label>
162 - <input maxlength="25" size="50" type="text" name="other" value="<? echo $other ?>"> 162 + <input maxlength="25" size="50" type="text" name="other" value="<?PHP echo $other ?>">
163 <br> 163 <br>
164 <span class="account">※複数回答可</span> 164 <span class="account">※複数回答可</span>
165 </TD> 165 </TD>
@@ -5,10 +5,9 @@ @@ -5,10 +5,9 @@
5 <TABLE width=100% border="0" align="center" cellPadding=0 cellSpacing=0> 5 <TABLE width=100% border="0" align="center" cellPadding=0 cellSpacing=0>
6 <TR class="cal_h"> 6 <TR class="cal_h">
7 <TD align="left" width="350"> 7 <TD align="left" width="350">
8 - <a href="http://www.media-tek.co.jp/e_event/index.html" target="_blank">  
9 <div id="logo"> 8 <div id="logo">
10 - <img src="{$_SYS_ROOT_URL_}/image/sp.gif" alt="e-イベント" title="e-イベント" width="250" height="53" border="0" /></div>  
11 - </a> 9 + <img src="{$_SYS_ROOT_URL_}/image/sp.gif" alt="" width="250" height="53" border="0" />
  10 + </div>
12 </TD> 11 </TD>
13 <TD align="center">  12 <TD align="center"> 
14 <SELECT name="main_year" onChange="GmDisp()" {$mode_disabled}>{$Year_Data}</SELECT> 13 <SELECT name="main_year" onChange="GmDisp()" {$mode_disabled}>{$Year_Data}</SELECT>
1 -<INPUT type="hidden" name="disp_nm" value="<? echo $stDisp_Name ?>"> 1 +<INPUT type="hidden" name="disp_nm" value="<?PHP echo $stDisp_Name ?>">
2 <INPUT type="hidden" name="sYear" value=""> 2 <INPUT type="hidden" name="sYear" value="">
3 <INPUT type="hidden" name="sMonth" value=""> 3 <INPUT type="hidden" name="sMonth" value="">
4 <INPUT type="hidden" name="strMainDate" value=""> 4 <INPUT type="hidden" name="strMainDate" value="">
Please register or login to post a comment