IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Langage PHP Discussion :

probleme de donné l'ordre au DB a propos d'une forme de lien ajoué


Sujet :

Langage PHP

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre du Club
    Inscrit en
    Janvier 2010
    Messages
    8
    Détails du profil
    Informations forums :
    Inscription : Janvier 2010
    Messages : 8
    Par défaut probleme de donné l'ordre au DB a propos d'une forme de lien ajoué
    bonsoir tout le monde,c'est mon premier post ici et j'espére trouver de l'aide
    j'utilise un script et si vous voulez voila une démonstration guidenet

    sur la section de listes.quand je veux ajouter une nouvelle liste,j'ai le choix d'integré deux liens
    mais dans la section annonce, je n'ai qu'a un seul,j'ai ajouter une form de lien
    mais elle fonctionne pas,quelqu'un ma dit que je dois donner aussi l'ordre au database d'ajoutant une ligne qui indique sa
    et vraiment sa fait plus d'un mois que j'essai,mais toujours pas réussi,
    j'espére que quelqu'un ici peut m'aider
    voila la forme

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    <th><?=system_showText(LANG_LABEL_URL)?>:</th>
                <td>
                <select name="url_protocol" class="httpSelect">
                <?
                $url_protocols     = explode(",", URL_PROTOCOL);
                $sufix               = "://";
                $protocol_replace     = "" ;
                for ($i=0; $i<count($url_protocols); $i++) {
                    $selected = false;
                    $protocol = $url_protocols[$i];
                    if (isset($url) || isset($url_protocol)) {
                        if ($url && !$url_protocol) {
                            $_protocol = explode($sufix, $url);
                            $_protocol = $_protocol[0];
                        } else if ($url_protocol) {
                            $_protocol = str_replace($sufix, "", $url_protocol);
                        }
                        if ($_protocol == $protocol) {
                            $selected = true;
                            $protocol_replace = $_protocol.$sufix;
                        }
                    } else if (!isset($id) && !$i) {
                        $selected = true;
                        $protocol_replace = $url_protocols[$i];
                        $protocol_replace = $protocol_replace.$sufix;
                    }
                    $protocol .= $sufix;
                ?>
                <option value="<?=$protocol?>"  <?=($selected==true  ? "selected=\"selected\"" : "")?> ><?=$protocol?></option>
                <?
                }
                ?>
                </select>
                <input type="text" style="width:425px" name="url" value="<?=str_replace($protocol_replace, "", $url)?>" maxlength="255" />
                </td>
    et j'ai ajouter cette ligne pour avoir un deuxieme lien a repmlacé

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    <th><?=system_showText(LANG_LABEL_DISPLAY_URL)?>:</th>
                <td><input type="text" name="display_url" value="<?=$display_url?>" maxlength="255" /></td>
    voila une photo prise pour la forme ajouter sur


  2. #2
    Membre confirmé Avatar de speedy_g
    Profil pro
    Inscrit en
    Avril 2007
    Messages
    213
    Détails du profil
    Informations personnelles :
    Âge : 44
    Localisation : Belgique

    Informations forums :
    Inscription : Avril 2007
    Messages : 213
    Par défaut
    Je n'ai pas compris ton problème, si tu veux avoir des réponses il faudrait peut-être que ce soit clair dans ta tête également

  3. #3
    Membre Expert Avatar de Fench
    Homme Profil pro
    Chercheur en informatique
    Inscrit en
    Mai 2002
    Messages
    2 353
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Groenland

    Informations professionnelles :
    Activité : Chercheur en informatique
    Secteur : Administration - Collectivité locale

    Informations forums :
    Inscription : Mai 2002
    Messages : 2 353
    Par défaut
    Bonjour,

    Là comme celà en fin de journée, j'ai rien compris aussi ....

    Pour ajouter ta colonne (le lien), tu fais dans le genre:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
     
    <tr>
         <th><?=system_showText(LANG_LABEL_URL)?>:</th>
         <th><?=system_showText(LANG_LABEL_DISPLAY_URL)?>:</th>
    </tr>
    <tr>
         <td>
                <select name="url_protocol" class="httpSelect">
                <?
                $url_protocols     = explode(",", URL_PROTOCOL);
                $sufix               = "://";
                $protocol_replace     = "" ;
                for ($i=0; $i<count($url_protocols); $i++) {
                    $selected = false;
                    $protocol = $url_protocols[$i];
                    if (isset($url) || isset($url_protocol)) {
                        if ($url && !$url_protocol) {
                            $_protocol = explode($sufix, $url);
                            $_protocol = $_protocol[0];
                        } else if ($url_protocol) {
                            $_protocol = str_replace($sufix, "", $url_protocol);
                        }
                        if ($_protocol == $protocol) {
                            $selected = true;
                            $protocol_replace = $_protocol.$sufix;
                        }
                    } else if (!isset($id) && !$i) {
                        $selected = true;
                        $protocol_replace = $url_protocols[$i];
                        $protocol_replace = $protocol_replace.$sufix;
                    }
                    $protocol .= $sufix;
                ?>
                <option value="<?=$protocol?>"  <?=($selected==true  ? "selected=\"selected\"" : "")?> ><?=$protocol?></option>
                <?
                }
                ?>
                </select>
                <input type="text" style="width:425px" name="url" value="<?=str_replace($protocol_replace, "", $url)?>" maxlength="255" />
            </td>
            <td>
                  <input type="text" name="display_url" value="<?=$display_url?>" maxlength="255" />
            </td>
    </tr>
    Mais bon vraiment (sans trop savoir ce que tu veux).

  4. #4
    Membre du Club
    Inscrit en
    Janvier 2010
    Messages
    8
    Détails du profil
    Informations forums :
    Inscription : Janvier 2010
    Messages : 8
    Par défaut merci d'avance vraiment
    merci pour votre réponse,ce que je veux vraiment voila

    quand je fais ajouté une liste
    au champ de lien j'ai deux choix (caché le vré url et montré un autre)c'est pour travaillé avec les affiliations et les redirections
    et c'est la forme de page des listes

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    615
    616
    617
    618
    619
    620
    621
    622
    623
    624
    625
    626
    627
    628
    629
    630
    631
    632
    633
    634
    635
    636
    637
    638
    639
    640
    641
    642
    643
    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    690
    691
    692
    693
    694
    695
    696
    697
    698
    699
    700
    701
    702
    703
    704
    705
    706
    707
    708
    709
    710
    711
    712
    713
    714
    715
    716
    717
    718
    719
    720
    721
    722
    723
    724
    725
    726
    727
    728
    729
    730
    731
    732
    733
    734
    735
    736
    737
    738
    739
    740
    741
    742
    743
    744
    745
    746
    747
    748
    749
    750
    751
    752
    753
    754
    755
    756
    757
    758
    759
    760
    761
    762
    763
    764
    765
    766
    767
    768
    769
    770
    771
    772
    773
    774
    775
    776
    777
    778
    779
    780
    781
    782
    783
    784
    785
    786
    787
    788
    789
    790
    791
    792
    793
    794
    795
    796
    797
    798
    799
    800
    801
    802
    803
    804
    805
    806
    807
    808
    809
    810
    811
    <?
     
    	/*==================================================================*\
    	######################################################################
    	#                                                                    #
    	# SisDir Class- System of Class Online 2009           #
    	#                                                                    #
    	#                #
    	#                       #
    	#                                                                    #
    	# ---------------- 2009 - this file is used in php. ----------------- #
    	#                                                                    #
    	# http://wxw.google.cn / wxw.msn.cn #
    	######################################################################
    	\*==================================================================*/
     
    	# ----------------------------------------------------------------------------------------------------
    	# * FILE: /includes/forms/form_listing.php
    	# ----------------------------------------------------------------------------------------------------
    	$template_title_field = false;
    	$template_address_field = false;
    	$template_address2_field = false;
    	if ($templateObj && $templateObj->getString("status")=="enabled") {
    		$template_title_field = $templateObj->getListingTemplateFields("title");
    		$template_address_field = $templateObj->getListingTemplateFields("address");
    		$template_address2_field = $templateObj->getListingTemplateFields("address2");
    	}
     
    ?>
     
    <? // Other Listing Javascript without AJAX /////////////////////////////////////////// ?>
    <script language="javascript" type="text/javascript" src="<?=DEFAULT_URL?>/scripts/common.js"></script>
    <script language="javascript" type="text/javascript">
     
    	function isInt(elm) {
    		if (elm.value == "") {
    			return false;
    		}
    		for (var i = 0; i < elm.value.length; i++) {
    			if (elm.value.charAt(i) < "0" || elm.value.charAt(i) > "9") {
    				return false;
    			}
    		}
    		return true;
    	}
     
    	// ---------------------------------- //
     
    	function verifyNewcity(id){
    		if(document.listing.state_id.selectedIndex == 0)
    			hideNewcity(id);
    	}
     
    	// ---------------------------------- //
     
    	function showNewcity(id){
    		document.listing.region_id.options[0].selected = true;
    		obj = document.getElementById(id);
    		if (document.listing.state_id.value != "")	obj.style.display = '';
    		else alert("<?=system_showText(LANG_MSG_SELECT_STATE_FIRST);?>");
    	}
     
    	// ---------------------------------- //
     
    	function hideNewcity(id){
    		obj = document.getElementById(id); 
    		document.listing.newcity.value = "";
    		obj.style.display = 'none';
    	}
     
    	// ---------------------------------- //
     
    		function JS_addCategory(text, id) {
     
    		seed = document.listing.seed;
    		feed = document.listing.feed;
     
    		var flag=true;
    		for (i=0;i<feed.length;i++)
    			if (feed.options[i].value==id)
    				flag=false;
     
     
    		if(text && id && flag){
    			feed.options[feed.length] = new Option(text, id);
    			alert("<?=system_showText(LANG_LABEL_CATEGORY);?> '"+text+"' <?=system_showText(LANG_MSG_CATEGORY_SUCCESSFULLY_ADDED)?>");
    		} else {
    			if (!flag) alert("<?=system_showText(LANG_MSG_CATEGORY_ALREADY_INSERTED)?>");
    			else alert("<?=system_showText(LANG_MSG_SELECT_VALID_CATEGORY)?>");
    		}
    	}
     
    	// ---------------------------------- //
     
    	function JS_removeCategory() {
    		feed = document.listing.feed;
    		if (feed.selectedIndex >= 0) feed.remove(feed.selectedIndex);
    	}
     
    	// ---------------------------------- //
     
    	function JS_displayCategoryPath() {
    		feed = document.listing.feed;
     
    		if(feed.selectedIndex == -1) {
    			alert("<?=system_showText(LANG_MSG_SELECT_CATEGORY_FIRST);?>");
    		} else {
    			var winl = (((screen.width) / 2) - 350);
    			var wint = (((screen.height) / 2) - 150);
    			var winprop = 'titlebar=no, toolbar=no, location=no, directories=no, status=no, width=700, height=150, left='+winl+', top='+wint+', menubar=no, scrollbars=yes, resizable=yes';
    			window.open("../listing/category_detail.php?id="+feed.options[feed.selectedIndex].value, "popup", winprop);
    		}
     
    		return;
     
    	}
     
    	// ---------------------------------- //
     
    	function JS_submit() {
     
    		feed = document.listing.feed;
    		return_categories = document.listing.return_categories;
    		if(return_categories.value.length > 0) return_categories.value="";
     
    		for (i=0;i<feed.length;i++) {
    			if (!isNaN(feed.options[i].value)) {
    				if(return_categories.value.length > 0)
    				return_categories.value = return_categories.value + "," + feed.options[i].value;
    				else
    			return_categories.value = return_categories.value + feed.options[i].value;
    			}
    		}
     
    		document.listing.submit();
    	}
    </script>
    <? //////////////////////////////////////////////////////////////////////////////////// ?>
     
    <? // Account Search Javascript /////////////////////////////////////////////////////// ?>
     
    <script type="text/javascript" src="<?=DEFAULT_URL?>/scripts/accountsearch.js"></script>
     
    <? //////////////////////////////////////////////////////////////////////////////////// ?>
     
    <? if ((!$members) && (CLAIM_FEATURE == "on")) { ?>
    	<br />
    	<div class="tip-base">
    		<p style="text-align: justify;"><a href="<?=DEFAULT_URL;?>/sitemgr/faq.php?keyword=<?=urlencode("claim");?>" target="_blank"><?=system_showText(LANG_SITEMGR_LISTING_TIPCLAIM_TITLE)?></a><br /><br /><br /><span style="float: right;"><?=system_showText(LANG_SITEMGR_LISTING_TIPCLAIM_1)?> <a href="<?=DEFAULT_URL?>/sitemgr/prefs/claim.php"><?=system_showText(LANG_SITEMGR_LISTING_TIPCLAIM_2)?></a>.</span></p>
    	</div>
    	<br />
    <? } ?>
     
    <p class="informationMessage">* <?=system_showText(LANG_LABEL_REQUIRED_FIELD)?></p>
    <?
    if ($message_listing) { 
    	echo "<p class='errorMessage'>";
    	echo $message_listing;
    	echo "</p>";
    }
    ?>
    <? // Display Level ////////////////////////////////////////////////////////////////// ?>
    <?php
     
    $template_name = "Default";
    $level_name = "";
    if ($listingtemplate_id) {
    	$templateObj = new ListingTemplate($listingtemplate_id);
    	if ($templateObj->getString("title") != "") {
    		$template_name = $templateObj->getString("title");
    	}
    }
     
    if ($level) {
    	$levelObjTMP = new ListingLevel();
    	$level_name = $levelObjTMP->getName($level);
    }
     
    ?>
    <table class="levelTable">
    	<tr>
    		<th class="levelTitle"><?=system_showText(LANG_LISTING_LEVEL)?></th>
    		<? if (LISTINGTEMPLATE_FEATURE == "on") { ?>
    			<td class="levelTopdetail" width="50%">&nbsp;<?=system_showText(LANG_LISTING_TEMPLATE)?></td>
    		<? } ?>
    	</tr>
    	<tr>
    		<th class="tableSelectedOption"><?=ucfirst($level_name); ?></th>
    		<? if (LISTINGTEMPLATE_FEATURE == "on") { ?>
    			<th class="tableSelectedOption"><?=$template_name;?></th>
    		<? } ?>
    	</tr>
    </table>
     
    <? // Account Search ////////////////////////////////////////////////////////////////// ?>
    <? if (!$members) { ?>
     
    	<table cellpadding="0" cellspacing="0" border="0" class="standard-table" style="margin-bottom: 0;">
    		<tr>
    			<th colspan="2" class="standard-tabletitle"><?=system_showText(LANG_SITEMGR_LABEL_ACCOUNT)?> <span><?=system_showText(LANG_SITEMGR_SETTINGS_IMPORT_TOACCOUNT_SPAN)?></span></th>
    		</tr>
    	</table>
     
    	<?
        $acct_search_table_title = system_showText(LANG_SITEMGR_ACCOUNTSEARCH_SELECT)." ".system_showText(LANG_SITEMGR_LISTING);
    	$acct_search_field_name = "account_id";
    	$acct_search_field_value = $account_id;
    	$acct_search_required_mark = false;
    	$acct_search_form_width = "95%";
    	$acct_search_cell_width = "";
    	$return = system_generateAjaxAccountSearch($acct_search_table_title, $acct_search_field_name, $acct_search_field_value, $acct_search_required_mark, $acct_search_form_width, $acct_search_cell_width);
    	echo $return;
    	?>
     
    <? } ?>
    <? //////////////////////////////////////////////////////////////////////////////////// ?>
     
    <? if ((!$members) && (CLAIM_FEATURE == "on")) { ?>
    	<table cellpadding="0" cellspacing="0" border="0" class="standard-table">
    		<tr>
    			<th><input type="checkbox" name="claim_disable" value="y" <? if ($claim_disable == "y") { echo "checked"; } ?> class="inputCheck" /></th>
    			<td><?=system_showText(LANG_SITEMGR_ACCOUNTSEARCH_DISABLECLAIM)?></td>
    		</tr>
    	</table>
    <? } ?>
     
    <table cellpadding="0" cellspacing="0" border="0" class="standard-table">
    	<tr>
    		<th colspan="2" class="standard-tabletitle"><?=system_showText(LANG_LABEL_INFORMATION)?></th>
    	</tr>
    	<tr>
    		<th class="wrap">
    			<?
    			if (LISTINGTEMPLATE_FEATURE == "on") {
    				echo "* ".(($template_title_field!==false) ? $template_title_field[0]["label"] : "".system_showText(LANG_LISTING_TITLE)).":";
    			} else {
    				echo "* ".system_showText(LANG_LISTING_TITLE).":";
    			}
    			?>
    		</th>
    		<td>
    			<input type="text" name="title" value="<?=$title?>" maxlength="100" onBlur="easyFriendlyUrl(this.value, 'friendly_url', '<?=FRIENDLYURL_VALIDCHARS?>', '<?=FRIENDLYURL_SEPARATOR?>');" />
    			<input type="hidden" name="friendly_url" id="friendly_url" value="<?=$friendly_url?>" maxlength="150" />
    			<?
    			if (LISTINGTEMPLATE_FEATURE == "on") {
    				echo (($template_title_field!==false) ? "<span>".$template_title_field[0]["instructions"]."</span>" : "");
    			}
    			?>
    		</td>
    	</tr>
    	<? if ($level > "10") { ?>
    		<tr>
    			<th><?=system_showText(LANG_LABEL_EMAIL)?>:</th>
    			<td><input type="text" name="email" value="<?=$email?>" maxlength="50" /></td>
    		</tr>
    		<tr>
    			<th><?=system_showText(LANG_LABEL_URL)?>:</th>
    			<td>
    			<select name="url_protocol" class="httpSelect">
    			<?
    			$url_protocols = explode(",", URL_PROTOCOL);
    			$sufix = "://";
    			$protocol_replace = "" ;
    			for ($i=0; $i<count($url_protocols); $i++) {
    				$selected = false;
    				$protocol = $url_protocols[$i];
    				if (isset($url) || isset($url_protocol)) {
    					if ($url && !$url_protocol) {
    						$_protocol = explode($sufix, $url);
    						$_protocol = $_protocol[0];
    					} else if ($url_protocol) {
    						$_protocol = str_replace($sufix, "", $url_protocol);
    					}
    					if ($_protocol == $protocol) {
    						$selected = true;
    						$protocol_replace = $_protocol.$sufix;
    					}
    				} else if (!isset($id) && !$i) {
    					$selected = true;
    					$protocol_replace = $url_protocols[$i];
    					$protocol_replace = $protocol_replace.$sufix;
    				}
    				$protocol .= $sufix;
    			?>
    			<option value="<?=$protocol?>"  <?=($selected==true  ? "selected=\"selected\"" : "")?> ><?=$protocol?></option>
    			<?
    			}
    			?>
    			</select>
    			<input type="text" style="width:425px" name="url" value="<?=str_replace($protocol_replace, "", $url)?>" maxlength="255" />
    			</td>
    		</tr>
    		<tr>
    			<th><?=system_showText(LANG_LABEL_DISPLAY_URL)?>:</th>
    			<td><input type="text" name="display_url" value="<?=$display_url?>" maxlength="255" /></td>
    		</tr>
    	<? } ?>
    	<tr>
    		<th><?=system_showText(LANG_LABEL_PHONE)?>:</th>
    		<td><input type="text" name="phone" value="<?=$phone?>" /></td>
    	</tr>
    	<? if (($level == "70") || ($level == "50")) { ?>
    		<tr>
    			<th><?=system_showText(LANG_LABEL_FAX)?>:</th>
    			<td><input type="text" name="fax" value="<?=$fax?>" /></td>
    		</tr>
    	<? } ?>
    </table>
     
    <table cellpadding="0" cellspacing="0" border="0" class="standard-table">
    	<tr>
    		<th colspan="2" class="standard-tabletitle"><?=system_showText(LANG_LABEL_LOCATIONS)?></th>
    	</tr>
    	<tr>
    		<th class="wrap">
    			<?
    			if (LISTINGTEMPLATE_FEATURE == "on") {
    				echo (($template_address_field!==false) ? $template_address_field[0]["label"] : system_showText(LANG_LABEL_ADDRESS1)).":";
    			} else {
    				echo system_showText(LANG_LABEL_ADDRESS1).":";
    			}
    			?>
    			<br /><br />
    		</th>
    		<td>
    			<input type="text" name="address" value="<?=$address?>" maxlength="50" />
    			<span>
    				<?
    				if (LISTINGTEMPLATE_FEATURE == "on") {
    					echo (($template_address_field!==false) ? $template_address_field[0]["instructions"] : system_showText(LANG_ADDRESS_EXAMPLE));
    				} else {
    					echo system_showText(LANG_ADDRESS_EXAMPLE);
    				}
    				?>
    			</span>
    		</td>
    	</tr>
    	<tr>
    		<th class="wrap">
    			<?
    			if (LISTINGTEMPLATE_FEATURE == "on") {
    				echo (($template_address2_field!==false) ? $template_address2_field[0]["label"] : system_showText(LANG_LABEL_ADDRESS2)).":";
    			} else {
    				echo system_showText(LANG_LABEL_ADDRESS2).":";
    			}
    			?>
    			<br /><br />
    		</th>
    		<td>
    			<input type="text" name="address2" value="<?=$address2?>" maxlength="50" />
    			<span>
    				<?
    				if (LISTINGTEMPLATE_FEATURE == "on") {
    					echo (($template_address2_field!==false) ? "<span>".$template_address2_field[0]["instructions"]."</span>" : system_showText(LANG_ADDRESS2_EXAMPLE));
    				} else {
    					echo system_showText(LANG_ADDRESS2_EXAMPLE);
    				}
    				?>
    			</span>
    		</td>
    	</tr>
    	<tr>
    		<th><?=system_showText(LANG_LABEL_COUNTRY)?>:</th>
    		<td>
    			<select name="country_id" id="country_id" OnChange="fillSelect('<?=DEFAULT_URL?>', this.form.state_id, this.value, this.form);" onblur="verifyNewcity('newcity');">
    				<option value=""><?=system_showText(LANG_MSG_SELECT_A_COUNTRY);?></option>
    				<?
    				if($countries) foreach($countries as $each_country){
    					$selected = ($country_id == $each_country["id"]) ? "selected" : "";
    					?><option <?=$selected?> value="<?=$each_country["id"]?>"><?=$each_country["name"]?></option><?
    					unset($selected);
    				}
    				?>
    			</select>
    		</td>
    	</tr>
    	<tr>
    		<th><?=system_showText(LANG_LABEL_STATE)?>:</th>
    		<td>
    			<select name="state_id" id="state_id" OnChange="fillSelect('<?=DEFAULT_URL?>', this.form.region_id, this.value, this.form);" onblur="verifyNewcity('newcity');">
    				<option value=""><?=system_showText(LANG_MSG_SELECT_A_STATE);?></option>
    				<?
    				if($selected_states) foreach($selected_states as $each_state){
    					if($selected_state) $selected = ($selected_state->getString("id") == $each_state["id"]) ? "selected" : "";
    					?><option <?=$selected?> value="<?=$each_state["id"];?>"><?=$each_state["name"];?></option><?
    					unset($selected);
    				}
    				?>
    			</select>
    		</td>
    	</tr>
    	<tr>
    		<th><?=system_showText(LANG_LABEL_CITY)?>:</th>
    		<td>
    			<select name="region_id" id="region_id" onclick="hideNewcity('newcity');">
    				<option value=""><?=system_showText(LANG_MSG_SELECT_A_CITY);?></option>
    				<?
    				if($selected_regions) foreach($selected_regions as $each_region){
    					if($selected_region) $selected = ($selected_region->getString("id") == $each_region["id"]) ? "selected" : "" ;
    					?><option <?=$selected?> value="<?=$each_region["id"];?>"><?=$each_region["name"];?></option><?
    					unset($selected);
    				}
    				?>
    			</select>
    		</td>
    	</tr>
    	<tr>
    		<th colspan="2" align="center" style="padding-left:90px; width:auto; text-align:center;">
    			<a href="javascript:void(0);" onclick="showNewcity('newcity');" style=" cursor: pointer"><?=system_showText(LANG_MSG_CLICK_TO_SEE_YOUR_CITY)?></a>
    		</th>
    	</tr>
    	<tr>
    		<td colspan="2" style="width:auto; margin: 0px; padding: 0px;">
    			<div style="display:none" id="newcity">
    			<table border="0" cellpadding="0" cellspacing="0" style="width: 100%; margin: 0; padding: 0">
    				<tr>
    					<th><?=system_showText(LANG_LABEL_NEW);?> <?=system_showText(LANG_LABEL_CITY)?>:</th>
    					<td class="innerCell">
    						<input type="text" name="newcity" onBlur="easyFriendlyUrl(this.value, 'newcity_friendly_url', '<?=FRIENDLYURL_VALIDCHARS?>', '<?=FRIENDLYURL_SEPARATOR?>');" />
    						<input type="hidden" name="newcity_friendly_url" id="newcity_friendly_url" value="<?=$newcity_friendly_url?>" />
    					</td>
    				</tr>
    			</table>
    			</div>
    		</td>
    	</tr>
    	<tr>
    		<th><?=ucwords(ZIPCODE_LABEL)?>:</th>
    		<td><input type="text" name="zip_code" value="<?=$zip_code?>" maxlength="10" /></td>
    	</tr>
    </table>
     
    <? if ($level == "70") { ?>
     
    	<table cellpadding="0" cellspacing="0" border="0" class="standard-table">
    		<tr>
    			<th colspan="3" class="standard-tabletitle"><?=system_showText(LANG_LABEL_IMAGE)?> <span>(<?=IMAGE_LISTING_FULL_WIDTH?>px x <?=IMAGE_LISTING_FULL_HEIGHT?>px) (JPG <?=system_showText(LANG_OR);?> GIF)</span></th>
    		</tr>
    		<tr>
    			<td colspan="3" class="standard-tabletitle"><span><?=system_showText(LANG_MSG_ADDITIONAL_IMAGES_MAY_BE_ADDED);?> <img src="<?=DEFAULT_URL?>/images/icon_gallery.gif" border="0" alt="<?=system_showText(LANG_LABEL_GALLERY);?>" title="<?=system_showText(LANG_LABEL_GALLERY);?>" /> <?=system_showText(LANG_MSG_ADDITIONAL_IMAGES_IF_ENABLED);?><span></td>
    		</tr>
    		<tr>
    		<?
    			if ($thumb_id) {
    				$imageObj = new Image($thumb_id);
    				if ($imageObj->imageExists()) {
    					echo "<th class=\"imageSpace\">";
    					echo $imageObj->getTag(true, IMAGE_LISTING_THUMB_WIDTH, IMAGE_LISTING_THUMB_HEIGHT, $title);
    					echo "</th>";
    				} else {
    					echo "<th class=\"imageSpace\" style=\"width: ".IMAGE_LISTING_THUMB_WIDTH."px;\">";
    					echo "&nbsp;";
    					echo "</th>";
    				}
    			}
    			?>
    			<th class="alignTop"><?=system_showText(LANG_LABEL_IMAGE_SOURCE)?>:</th>
    			<td>
    				<input type="file" name="image" size="50" /><span><?=system_showText(LANG_MSG_MAX_FILE_SIZE)?> <?=UPLOAD_MAX_SIZE;?> MB. <?=system_showText(LANG_MSG_TRANSPARENTGIF_NOT_SUPPORTED)?></span>
    				<input type="hidden" name="image_id" value="<?=$image_id?>" />
    			</td>
    		</tr>
    		<? if ($thumb_id) { ?>
    			<tr>
    				<th colspan="2"><input type="checkbox" name="remove_image" value="1" class="inputCheck" /></th>
    				<td><?=system_showText(LANG_MSG_CHECK_TO_REMOVE_IMAGE)?></td>
    			</tr>
    		<? } ?>
    	</table>
     
    	<table cellpadding="0" cellspacing="0" border="0" class="standard-table">
    		<tr>
    			<th colspan="2" class="standard-tabletitle">
    				<?=system_showText(LANG_LABEL_VIDEO_SNIPPET_CODE)?>
    				<span style="display: block; white-space: normal;">(<?=system_showText(LANG_MSG_VIDEO_SNIPPET_CODE)?>)</span>
    			</th>
    		</tr>
    		<tr>
    			<th class="alignTop"><?=system_showText(LANG_LABEL_CODE)?>:</th>
    			<td>
    				<input type="text" name="video_snippet" value="<?=$video_snippet?>" class="inputExplode" />
    				<span><?=system_showText(LANG_MSG_MAX_VIDEO_CODE_SIZE);?>: <?=IMAGE_LISTING_FULL_WIDTH?>px x <?=IMAGE_LISTING_FULL_HEIGHT?>px.<br /><?=system_showText(LANG_MSG_VIDEO_MODIFIED);?></span><br>
    			</td>
    		</tr>
    	</table>
     
    <? } ?>
     
    <? if ($level == "70") { ?>
    	<table cellpadding="0" cellspacing="0" border="0" class="standard-table">
    		<tr>
    			<th colspan="2" class="standard-tabletitle"><?=system_showText(LANG_LABEL_ATTACH_ADDITIONAL_FILE)?> <span>(PDF, DOC, TXT, JPG <?=system_showText(LANG_OR);?> GIF)</span></th>
    		</tr>
    		<?
    		if ($listing->getString("attachment_file")) {
    			if (file_exists(EXTRAFILE_DIR."/".$listing->getString("attachment_file"))) {
    				?>
    				<tr>
    					<td colspan="2">
     
    						<a href="<?=EXTRAFILE_URL?>/<?=$listing->getString("attachment_file")?>" style="text-decoration: underline;" target="_blank">
    							<?
    							if ($listing->getString("attachment_caption")) {
    								echo $listing->getString("attachment_caption");
    							} else {
    								echo system_showText(LANG_MSG_ATTACHMENT_HAS_NO_CAPTION);
    							}
    							?>
    						</a>
    						<br /><input type="checkbox" name="remove_attachment" value="1" class="inputCheck"/> <?=system_showText(LANG_MSG_CLICK_TO_REMOVE_ATTACHMENT);?>
    					</td>
    				</tr>
    				<?
    			}
    		}
    		?>
    		<tr>
    			<th class="alignTop"><?=system_showText(LANG_LABEL_SOURCE)?>:</th>
    			<td>
    				<input type="file" name="attachment_file" size="50" /><span><?=system_showText(LANG_MSG_MAX_FILE_SIZE)?> <?=UPLOAD_MAX_SIZE;?> MB</span>
    			</td>
    		</tr>
    		<tr>
    			<th><?=system_showText(LANG_LABEL_CAPTION)?>:</th>
    			<td>
    				<input type="text" maxlength="250" name="attachment_caption" value="<?=$attachment_caption?>" />
    			</td>
    		</tr>
    	</table>
    <? } ?>
     
    <table cellpadding="0" cellspacing="0" border="0" class="standard-table">
    	<tr>
    		<th colspan="2" class="standard-tabletitle">
    			<?=system_showText(LANG_LABEL_SUMMARY_DESCRIPTION)?> <span>(<?=strtolower(system_showText(LANG_MSG_MAX_250_CHARS))?>)</span>
    		</th>
    	</tr>
    	<?
    	$array_edir_languagenames = explode(",", EDIR_LANGUAGENAMES);
    	for ($i=0; $i<count(explode(",", EDIR_LANGUAGES)); $i++) {
    		$labelsuffix = "";
    		if ($i) $labelsuffix = $i;
    		?>
    		<tr>
    			<th><?=((count(explode(",", EDIR_LANGUAGES))>1)?($array_edir_languagenames[$i].":"):("&nbsp;"));?></th>
    			<td>
    				<textarea name="description<?=$labelsuffix;?>" rows="5" onKeyDown="textCounter(this.form.description<?=$labelsuffix;?>,this.form.remLen<?=$labelsuffix;?>,250);" onKeyUp="textCounter(this.form.description<?=$labelsuffix;?>,this.form.remLen<?=$labelsuffix;?>,250);"><?=${"description".$labelsuffix};?></textarea>
    				<? $total = strlen(html_entity_decode(${"description".$labelsuffix})); ?>
    				<span><input readonly type="text" name="remLen<?=$labelsuffix;?>" size="3" maxlength="3" value="<?=250-$total?>" class="textcounter" /> <?=system_showText(LANG_MSG_CHARS_LEFT)?> <?=system_showText(LANG_MSG_INCLUDING_SPACES_LINE_BREAKS)?></span>
    			</td>
    		</tr>
    		<?
    	}
    	?>
    </table>
     
    <table cellpadding="0" cellspacing="0" border="0" class="standard-table">
    	<tr>
    		<th colspan="2" class="standard-tabletitle"><?=system_showText(LANG_LABEL_DESCRIPTION)?></th>
    	</tr>
    	<?
    	$array_edir_languagenames = explode(",", EDIR_LANGUAGENAMES);
    	for ($i=0; $i<count(explode(",", EDIR_LANGUAGES)); $i++) {
    		$labelsuffix = "";
    		if ($i) $labelsuffix = $i;
    		?>
    		<tr>
    			<th><?=((count(explode(",", EDIR_LANGUAGES))>1)?($array_edir_languagenames[$i].":"):("&nbsp;"));?></th>
    			<td>
    				<textarea name="long_description<?=$labelsuffix;?>" rows="5"><?=${"long_description".$labelsuffix}?></textarea>
    			</td>
    		</tr>
    		<?
    	}
    	?>
    </table>
     
    <table cellpadding="0" cellspacing="0" border="0" class="standard-table">
    	<tr>
    		<th colspan="2" class="standard-tabletitle">
    			<?=system_showText(LANG_LABEL_KEYWORDS_FOR_SEARCH)?> <span>(<?=system_showText(LANG_LABEL_MAX);?> <?=MAX_KEYWORDS?> <?=system_showText(LANG_LABEL_KEYWORDS);?>)</span>
    			<img src="<?=DEFAULT_URL?>/images/icon_interrogation.gif" alt="?" title="<?=system_showText(LANG_MSG_INCLUDE_UP_TO_KEYWORDS)?> <?=MAX_KEYWORDS?> <?=system_showText(LANG_MSG_KEYWORDS_WITH_MAXIMUM_50)?>" border="0" />
    		</th>
    	</tr>
    	<tr>
    		<td colspan="2" class="standard-tableContent">
    			<table border="0" cellpadding="0" cellspacing="0" align="center">
    				<tr>
    					<th><?=system_showText(LANG_MSG_KEYWORD_PER_LINE)?></th>
    					<td>
    						<?=system_showText(LANG_KEYWORD_SAMPLE_1);?><br />
    						<?=system_showText(LANG_KEYWORD_SAMPLE_2);?><br />
    						<?=system_showText(LANG_KEYWORD_SAMPLE_3);?><br />
    					</td>
    				</tr>
    			</table>
    		</td>
    	</tr>
    	<?
    	$array_edir_languagenames = explode(",", EDIR_LANGUAGENAMES);
    	for ($i=0; $i<count(explode(",", EDIR_LANGUAGES)); $i++) {
    		$labelsuffix = "";
    		if ($i) $labelsuffix = $i;
    		?>
    		<tr>
    			<th><?=((count(explode(",", EDIR_LANGUAGES))>1)?($array_edir_languagenames[$i].":"):("&nbsp;"));?></th>
    			<td>
    				<textarea name="keywords<?=$labelsuffix;?>" rows="5"><?=${"keywords".$labelsuffix}?></textarea>
    			</td>
    		</tr>
    		<?
    	}
    	?>
    </table>
     
    <? if($level==70) { ?>
    	<table cellpadding="0" cellspacing="0" border="0" class="standard-table">
    		<tr>
    			<th class="standard-tabletitle">
    				<?=system_showText(LANG_LABEL_HOURS_OF_WORK)?>
    			</th>
    		</tr>
    		<tr>
    			<td class="standard-tableContent">
    				<table border="0" cellpadding="0" cellspacing="0" align="center">
    					<tr>
    						<th><?=system_showText(LANG_MSG_PHRASE_PER_LINE)?>:</th>
    						<td>
    							<?=system_showText(LANG_HOURWORK_SAMPLE_1);?><br />
    							<?=system_showText(LANG_HOURWORK_SAMPLE_2);?><br />
    							<?=system_showText(LANG_HOURWORK_SAMPLE_3);?><br />
    						</td>
    					</tr>
    				</table>
    			</td>
    		</tr>
    		<tr>
    			<td style="width: auto;">
    				<textarea name="hours_work" rows="5"><?=$hours_work?></textarea>
    			</td>
    		</tr>
    	</table>
    	<table cellpadding="0" cellspacing="0" border="0" class="standard-table">
    			<tr>
    				<th class="standard-tabletitle">
    					<?=system_showText(LANG_LABEL_LOCATIONS)?>
    				</th>
    			</tr>
    			<tr>
    				<td style="width: auto;">
    					<textarea name="locations" rows="5"><?=$locations?></textarea>
    				</td>
    			</tr>
    	</table>
    <? } ?>
     
    <?
    if (LISTINGTEMPLATE_FEATURE == "on") {
    	include(INCLUDES_DIR."/forms/form_listing_extra_fields.php");
    }
    ?>
     
    <table cellpadding="0" cellspacing="0" border="0" class="standard-table">
    	<tr>
    		<th colspan="2" class="standard-tabletitle">
    			<?=system_showText(LANG_CATEGORIES_SUBCATEGS)?>
    			<?
    			if (((!$listing->getNumber("id")) || (($listing) && ($listing->needToCheckOut())) || (strpos($url_base, "/sitemgr")) || (($listing) && ($listing->getPrice() <= 0))) && ($process != "signup")) {
    				$listingLevelObj = new ListingLevel();
    				?><span style="display: block; white-space: normal;"><?=(($listingLevelObj->getFreeCategory($level) > 1) ? system_showText(LANG_LABEL_CATEGORY_PLURAL) : system_showText(LANG_LABEL_CATEGORY))?> <strong><?=system_showText(LANG_LABEL_FREE)?>: <?=$listingLevelObj->getFreeCategory($level)?></strong>. <?=system_showText(LANG_MSG_EXTRA_CATEGORIES_COST)?> <strong><?=system_showText(LANG_MSG_ADDITIONAL)?> <?=CURRENCY_SYMBOL?> <?=$listingLevelObj->getCategoryPrice($level)?></strong> <?=system_showText(LANG_MSG_BE_SEEN)?></span><?
    			}
    			?>
    		</th>
    	</tr>
    	<tr>
    		<td colspan="2" class="standard-tableContent">
    			<p class="warningBOXtext"><?=system_showText(LANG_MSG_ONLY_SELECT_SUBCATEGS)?><br /><?=system_showText(LANG_MSG_LISTING_AUTOMATICALLY_APPEAR)?></p>
    		</td>
    	</tr>
    	<? if (((!$listing->getNumber("id")) || (($listing) && ($listing->needToCheckOut())) || (strpos($url_base, "/sitemgr")) || (($listing) && ($listing->getPrice() <= 0))) && ($process != "signup")) { ?>
    		<input type="hidden" name="return_categories" value="">
    		<tr>
    			<td colspan="2" class="treeView">
    				<ul id="listing_categorytree_id_0" class="categoryTreeview">&nbsp;</ul>
    				<table width="100%" border="0" cellpadding="2" class="tableCategoriesADDED" cellspacing="0">
    					<tr>
    						<th colspan="2" class="tableCategoriesTITLE alignLeft"><strong><?=system_showText(LANG_LISTING_CATEGORIES);?>:</strong></th>
    					</tr>
    					<tr>
    						<td colspan="2" class="tableCategoriesCONTENT"><?=$feedDropDown?></td>
    					</tr>
    					<tr>
    						<td class="tableCategoriesBUTTONS" colspan="2">
    							<center>
    								<button type="button" value="<?=system_showText(LANG_BUTTON_VIEWCATEGORYPATH)?>" onclick="JS_displayCategoryPath();"><?=system_showText(LANG_BUTTON_VIEWCATEGORYPATH)?></button>
    								<button type="button" value="<?=system_showText(LANG_BUTTON_REMOVESELECTEDCATEGORY)?>" onclick="JS_removeCategory();"><?=system_showText(LANG_BUTTON_REMOVESELECTEDCATEGORY)?></button>
    							</center>
    						</td>
    					</tr>
    				</table>
    			</td>
    		</tr>
    	<? } else { ?>
    		<input type="hidden" name="return_categories" value="" />
    		<tr>
    			<td colspan="2" class="treeView">
    				<table width="100%" border="0" cellpadding="2" class="tableCategoriesADDED" cellspacing="0">
    					<tr>
    						<th colspan="2" class="tableCategoriesTITLE alignLeft" style="text-align:left;"><strong><?=system_showText(LANG_LISTING_CATEGORIES);?>:</strong></th>
    					</tr>
    					<tr>
    						<td colspan="2" class="tableCategoriesCONTENT"><?=$feedDropDown?></td>
    					</tr>
    					<tr>
    						<td class="tableCategoriesBUTTONS" colspan="2">
    							<center>
    									<button type="button" value="<?=system_showText(LANG_BUTTON_VIEWCATEGORYPATH)?>" onclick="JS_displayCategoryPath();"><?=system_showText(LANG_BUTTON_VIEWCATEGORYPATH)?></button>
    							</center>
    						</td>
    					</tr>
    				</table>
    			</td>
    		</tr>
    	<? } ?>
    </table>
     
    <? if (($level == "50") || ($level == "70")) { ?>
    	<? if($editorChoices) { ?>
    		<table cellpadding="0" cellspacing="0" border="0" class="standard-table">
    			<tr>
    				<th colspan="4" class="standard-tabletitle"><?=system_showText(LANG_LISTING_DESIGNATION_PLURAL);?></th>
    			</tr>
    			<tr>
    				<td colspan="4" class="standard-tableContent">
    					<?=system_showText(LANG_MSG_REQUEST_YOUR_LISTING);?><br/>
    					<?=system_showText(LANG_LISTING_SUBJECTTOAPPROVAL);?>
    				</td>
    			</tr>
    			<tr>
    				<td colspan="4" style="width: auto;">
     
    					<table align="center" cellpadding="0" cellspacing="0" style="margin: 0 auto 0 auto;">
    						<?
    						foreach($editorChoices as $editor) { 
    							$listingChoiceObj = new ListingChoice($editor->getNumber("id"), $id);
    						?>
    							<tr>
    								<th style="font-weight: bold; background: none;"><?=$editor->getString("name")?></th>
    								<td style="width: auto;">
    									<?
    									$imageObj = new Image($editor->getNumber("image_id"));
    									if ($imageObj->imageExists()) {
    										echo $imageObj->getTag(true, IMAGE_DESIGNATION_WIDTH, IMAGE_DESIGNATION_HEIGHT, $editor->getString("name"));
    									}
    									?>
    								</td>
    								<?
    								$checkedStr = "";
    								if ($_SERVER['REQUEST_METHOD'] == "POST") {
    									if ($_POST["choice"]) {
    										if (in_array($editor->getNumber("id"), $_POST["choice"])) {
    											$checkedStr = "checked";
    										}
    									}
    								} elseif ($listingChoiceObj->getNumber("listing_id")) {
    									$checkedStr = "checked";
    								}
    								?>
    								<td style="width: auto"><input type="checkbox" name="choice[]" <?=$checkedStr?> class="inputCheck" value="<?=$editor->getNumber("id")?>" /></td>
    								<td style="width: auto"><?=system_showText(LANG_LISTING_SELECT_THIS_CHOICE);?></td>
    							</tr>
    						<? } ?>
    					</table>
     
    				</td>
    			</tr>
    		</table>
    	<? } ?>
    <? } ?>
     
    <? if (PAYMENT_FEATURE == "on") { ?>
    	<? if ((CREDITCARDPAYMENT_FEATURE == "on") || (INVOICEPAYMENT_FEATURE == "on")) { ?>
    		<table cellpadding="0" cellspacing="0" border="0" class="standard-table">
    			<tr>
    				<th colspan="2" class="standard-tabletitle"><?=system_showText(LANG_LABEL_DISCOUNT_CODE)?></th>
    			</tr>
    			<? if (((!$listing->getNumber("id")) || (($listing) && ($listing->needToCheckOut())) || (strpos($url_base, "/sitemgr")) || (($listing) && ($listing->getPrice() <= 0))) && ($process != "signup")) { ?>
    				<tr>
    					<th><?=system_showText(LANG_LABEL_CODE)?>:</th>
    					<td><input type="text" name="discount_id" value="<?=$discount_id?>" maxlength="10" /></td>
    				</tr>
    			<? } else { ?>
    				<tr>
    					<th><?=system_showText(LANG_LABEL_CODE)?>:</th>
    					<td><?=(($discount_id) ? $discount_id : system_showText(LANG_NA) )?></td>
    				</tr>
    			<? } ?>
    		</table>
    	<? } ?>
    <? } ?>
     
    <? if (((!$listing->getNumber("id")) || (($listing) && ($listing->needToCheckOut())) || (strpos($url_base, "/sitemgr")) || (($listing) && ($listing->getPrice() <= 0))) && ($process != "signup")) { ?>
    	<script language="javascript" type="text/javascript" src="<?=DEFAULT_URL?>/scripts/categorytree.js"></script>
    	<script language="javascript" type="text/javascript">
    		<? if ($listingtemplate_id) { ?>
    			loadCategoryTree('template', 'listing_', 'ListingCategory', 0, <?=$listingtemplate_id?>, '<?=EDIRECTORY_FOLDER?>');
    		<? } else { ?>
    			loadCategoryTree('all', 'listing_', 'ListingCategory', 0, 0, '<?=EDIRECTORY_FOLDER?>');
    		<? } ?>
    	</script>
    <? } ?>
    je veux ajouté aussi une autre form pour les annonces,pour avoir cette option
    au champs des lien

    c'est sa la form des annonces,et j'espére trouvé la solution chez vous

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    <?
     
    	/*==================================================================*\
    	######################################################################
    	#                                                                    #
    	# SisDir Class- System of Class Online 2009           #
    	#                                                                    #
    	#                #
    	#                       #
    	#                                                                    #
    	# ---------------- 2009 - this file is used in php. ----------------- #
    	#                                                                    #
    	# http://wxw.google.cn / wxw.msn.cn #
    	######################################################################
    	\*==================================================================*/
     
    	# ----------------------------------------------------------------------------------------------------
    	# * FILE: /includes/forms/form_classified.php
    	# ----------------------------------------------------------------------------------------------------
     
    ?>
     
    <script language="javascript" type="text/javascript" src="<?=DEFAULT_URL?>/scripts/common.js"></script>
     
    <script language="javascript" type="text/javascript">
     
        function isInt(elm) {
            if (elm.value == "") {
                return false;
            }
            for (var i = 0; i < elm.value.length; i  ) {
                if (elm.value.charAt(i) < "0" || elm.value.charAt(i) > "9") {
                    return false;
                }
            }
            return true;
        }
     
        // ---------------------------------- //
    function JS_submit() {
            document.classified.submit();
        }
     
        // ---------------------------------- //
     
        function verifyNewcity(id){
            if(document.classified.state_id.selectedIndex == 0)
                hideNewcity(id);
        }
     
        // ---------------------------------- //
     
        function showNewcity(id){
            document.classified.region_id.options[0].selected = true;
            obj = document.getElementById(id);
            if (document.classified.state_id.value != "")    obj.style.display = '';
            else alert("<?=system_showText(LANG_MSG_SELECT_STATE_FIRST);?>");
        }
     
        // ---------------------------------- //
     
        function hideNewcity(id){
            obj = document.getElementById(id); 
            document.classified.newcity.value = "";
            obj.style.display = 'none';
        }
     
        // ---------------------------------- //
     
    	function JS_submit() {
    		document.classified.submit();
    	}
     
    </script>
     
    <?  // Account Search Javascript /////////////////////////////////////////////////////// ?>
     
    <script type="text/javascript" src="<?=DEFAULT_URL?>/scripts/accountsearch.js"></script>
     
    <?  //////////////////////////////////////////////////////////////////////////////////// ?>
     
    <?
    echo "<p class=\"informationMessage\">* ".system_showText(LANG_LABEL_REQUIRED_FIELD)." </p>";
     
    	if ($message_classified) {
    		echo "<p class=\"errorMessage\">";
    		echo $message_classified ;
    		echo "</p>";
    	}
    ?>
     
    <? // Display Level ////////////////////////////////////////////////////////////////// ?>
    <?php
    $level_name = "";
    if ($level) {
    	$levelObjTMP = new ClassifiedLevel();
    	$level_name = $levelObjTMP->getName($level);
    }
    ?>
    <table class="levelTable">
    	<tr>
    		<th class="levelTitle"><?=system_showText(LANG_CLASSIFIED_LEVEL);?></th>
    	</tr>
    	<tr>
    		<th class="tableSelectedOption"><?=ucfirst($level_name); ?></th>
    	</tr>
    </table>
     
    <? // Account Search ////////////////////////////////////////////////////////////////// ?>
    <? if (!$members) { ?>
     
    	<table cellpadding="0" cellspacing="0" border="0" class="standard-table">
    		<tr>
    			<th colspan="2" class="standard-tabletitle"><?=system_showText(LANG_SITEMGR_LABEL_ACCOUNT)?> <span><?=system_showText(LANG_SITEMGR_SETTINGS_IMPORT_TOACCOUNT_SPAN)?></span></th>
    		</tr>
    	</table>
     
    	<?
    	$acct_search_table_title = system_showText(LANG_SITEMGR_ACCOUNTSEARCH_SELECT)." ".system_showText(LANG_SITEMGR_CLASSIFIED);
    	$acct_search_field_name = "account_id";
    	$acct_search_field_value = $account_id;
    	$acct_search_required_mark = false;
    	$acct_search_form_width = "95%";
    	$acct_search_cell_width = "";
    	$return = system_generateAjaxAccountSearch($acct_search_table_title, $acct_search_field_name, $acct_search_field_value, $acct_search_required_mark, $acct_search_form_width, $acct_search_cell_width);
    	echo $return;
    	?>
     
    <? } ?>
    <?  //////////////////////////////////////////////////////////////////////////////////// ?>
     
    	<table border="0" cellpadding="0" cellspacing="0" class="standard-table">
    		<tr>
    			<th colspan="2" class="standard-tabletitle"><?=system_showText(LANG_LABEL_INFORMATION);?></th>
    		</tr>
    		<tr>
    			<th>* <?=system_showText(LANG_CLASSIFIED_TITLE);?>:</th>
    			<td>
    				<input type="text" name="title" value="<?=$title?>" maxlength="100" onBlur="easyFriendlyUrl(this.value, 'friendly_url', '<?=FRIENDLYURL_VALIDCHARS?>', '<?=FRIENDLYURL_SEPARATOR?>');" />
    				<input type="hidden" name="friendly_url" id="friendly_url" value="<?=$friendly_url?>" maxlength="150" />
    			</td>
    		</tr>
    		<? if ($level >= 30) { ?>
    		<tr>
    			<th><?=system_showText(LANG_LABEL_CONTACT_NAME);?>:</th>
    			<td><input type="text" name="contactname" value="<?=$contactname?>" /></td>
    		</tr>
    		<? } ?>
    		<tr>
    			<th><?=system_showText(LANG_LABEL_CONTACT_PHONE);?>:</th>
    			<td><input type="text" name="phone" value="<?=$phone?>" /></td>
    		</tr>
    		<? if ($level == 50) { ?>
    		<tr>
    			<th><?=system_showText(LANG_LABEL_CONTACT_FAX);?>:</th>
    			<td><input type="text" name="fax" value="<?=$fax?>" /></td>
    		</tr>
    		<? } ?>
    		<tr>
    			<th><?=system_showText(LANG_LABEL_CONTACT_EMAIL);?>:</th>
    			<td><input type="text" name="email" value="<?=$email?>" /></td>
    		</tr>
    		<? if ($level == 50) { ?>
    		<tr>
    			<th><?=system_showText(LANG_LABEL_URL)?>:</th>
    			<td>
    			<select name="url_protocol" class="httpSelect">
    			<?
    			$url_protocols 	= explode(",", URL_PROTOCOL);
    			$sufix   			= "://";
    			$protocol_replace 	= "" ;
    			for ($i=0; $i<count($url_protocols); $i++) {
    				$selected = false;
    				$protocol = $url_protocols[$i];
    				if (isset($url) || isset($url_protocol)) {
    					if ($url && !$url_protocol) {
    						$_protocol = explode($sufix, $url);
    						$_protocol = $_protocol[0];
    					} else if ($url_protocol) {
    						$_protocol = str_replace($sufix, "", $url_protocol);
    					}
    					if ($_protocol == $protocol) {
    						$selected = true;
    						$protocol_replace = $_protocol.$sufix;
    					}
    				} else if (!isset($id) && !$i) {
    					$selected = true;
    					$protocol_replace = $url_protocols[$i];
    					$protocol_replace = $protocol_replace.$sufix;
    				}
    				$protocol .= $sufix;
    			?>
    			<option value="<?=$protocol?>"  <?=($selected==true  ? "selected=\"selected\"" : "")?> ><?=$protocol?></option>
    			<?
    			}
    			?>
    			</select>
    			<input type="text" style="width:425px" name="url" value="<?=str_replace($protocol_replace, "", $url)?>" maxlength="255" />
    			</td>
    		</tr>
    		<? } ?>
    	</table>
     
    	<table border="0" cellpadding="0" cellspacing="0" class="standard-table">
    		<tr>
    			<th colspan="2" class="standard-tabletitle"><?=system_showText(LANG_LABEL_LOCATIONS)?></th>
    		</tr>
    		<tr>
    			<th><?=system_showText(LANG_LABEL_ADDRESS);?>:</th>
    			<td><input type="text" name="address" value="<?=$address?>" /></td>
    		</tr>
    		<tr>
    			<th><?=system_showText(LANG_LABEL_ADDRESS_OPTIONAL);?>:</th>
    			<td><input type="text" name="address2" value="<?=$address2?>" /></td>
    		</tr>
    		<tr>
    			<th><?=system_showText(LANG_LABEL_COUNTRY)?>:</th>
    			<td>
    				<select name="country_id" id="country_id" OnChange="fillSelect('<?=DEFAULT_URL?>', this.form.state_id, this.value, this.form);">
    					<option value=""><?=system_showText(LANG_MSG_SELECT_A_COUNTRY);?></option>
    					<?
    					if($countries) foreach($countries as $each_country){
    						$selected = ($country_id == $each_country["id"]) ? "selected" : "";
    						?><option <?=$selected?> value="<?=$each_country["id"]?>"><?=$each_country["name"]?></option><?
    						unset($selected);
    					}
    					?>
    				</select>
    			</td>
    		</tr>
    		<tr>
    			<th><?=system_showText(LANG_LABEL_STATE)?>:</th>
    			<td>
    				<select name="state_id" id="state_id" OnChange="fillSelect('<?=DEFAULT_URL?>', this.form.region_id, this.value, this.form);">
    					<option value=""><?=system_showText(LANG_MSG_SELECT_A_STATE);?></option>
    					<?
    					if($selected_states) foreach($selected_states as $each_state){
    						if($selected_state) $selected = ($selected_state->getString("id") == $each_state["id"]) ? "selected" : "";
    						?><option <?=$selected?> value="<?=$each_state["id"];?>"><?=$each_state["name"];?></option><?
    						unset($selected);
    					}
    					?>
    				</select>
    			</td>
    		</tr>
    		<tr>
    			<th><?=system_showText(LANG_LABEL_CITY)?>:</th>
    			<td>
    				<select name="region_id" id="region_id">
    					<option value=""><?=system_showText(LANG_MSG_SELECT_A_CITY);?></option>
    					<?
    					if($selected_regions) foreach($selected_regions as $each_region){
    						if($selected_region) $selected = ($selected_region->getString("id") == $each_region["id"]) ? "selected" : "" ;
    						?><option <?=$selected?> value="<?=$each_region["id"];?>"><?=$each_region["name"];?></option><?
    						unset($selected);
    					}
    					?>
    				</select>
    			</td>
    		</tr>
     
        <tr>
            <th colspan="2" align="center" style="padding-left:90px; width:auto; text-align:center;">
                <a href="javascript:void(0);" onclick="showNewcity('newcity');" style=" cursor: pointer"><?=system_showText(LANG_MSG_CLICK_TO_SEE_YOUR_CITY)?></a>
            </th>
        </tr>
        <tr>
            <td colspan="2" style="width:auto; margin: 0px; padding: 0px;">
                <div style="display:none" id="newcity">
                <table border="0" cellpadding="0" cellspacing="0" style="width: 100%; margin: 0; padding: 0">
                    <tr>
                        <th><?=system_showText(LANG_LABEL_NEW);?> <?=system_showText(LANG_LABEL_CITY)?>:</th>
                        <td class="innerCell">
                            <input type="text" name="newcity" onBlur="easyFriendlyUrl(this.value, 'newcity_friendly_url', '<?=FRIENDLYURL_VALIDCHARS?>', '<?=FRIENDLYURL_SEPARATOR?>');" />
                            <input type="hidden" name="newcity_friendly_url" id="newcity_friendly_url" value="<?=$newcity_friendly_url?>" />
                        </td>
                    </tr>
                </table>
                </div>
            </td>
        </tr>
     
     
    		<tr>
    			<th><?=ucwords(ZIPCODE_LABEL)?>:</th>
    			<td><input type="text" name="zip_code" value="<?=$zip_code?>" maxlength="10" /></td>
    		</tr>
    	</table>
     
    	<table border="0" cellpadding="0" cellspacing="0" class="standard-table">
    		<tr>
    			<th colspan="3" class="standard-tabletitle"><?=system_showText(LANG_LABEL_IMAGE)?> <span>(<?=IMAGE_CLASSIFIED_FULL_WIDTH?>px x <?=IMAGE_CLASSIFIED_FULL_HEIGHT?>px) (JPG <?=system_showText(LANG_OR);?> GIF)</span></th>
    		</tr>
    		<tr>
    			<td colspan="3" class="standard-tabletitle"><span><?=system_showText(LANG_MSG_ADDITIONAL_IMAGES_MAY_BE_ADDED);?> <img src="<?=DEFAULT_URL?>/images/icon_gallery.gif" border="0" alt="<?=strtolower(system_showText(LANG_SITEMGR_GALLERY))?>" title="<?=strtolower(system_showText(LANG_SITEMGR_GALLERY))?>" /> <?=system_showText(LANG_MSG_ADDITIONAL_IMAGES_IF_ENABLED);?><span></td>
    		</tr>
    		<tr>
    			<?
    			if ($thumb_id) {
    				$imageObj = new Image($thumb_id);
    				if ($imageObj->imageExists()) {
    					echo "<th class=\"imageSpace\">";
    					echo $imageObj->getTag(true, IMAGE_CLASSIFIED_THUMB_WIDTH, IMAGE_CLASSIFIED_THUMB_HEIGHT, $title);
    					echo "</th>";
    				} else {
    					echo "<th class=\"imageSpace\" style=\"width: ".IMAGE_CLASSIFIED_THUMB_WIDTH."px;\">";
    					echo "&nbsp;";
    					echo "</th>";
    				}
    			}
    			?>
    			<th><?=system_showText(LANG_LABEL_IMAGE_SOURCE)?>:</th>
    			<td>
    				<input type="file" name="image" size="50" /><span><?=system_showText(LANG_MSG_MAX_FILE_SIZE)?> <?=UPLOAD_MAX_SIZE;?> MB. <?=system_showText(LANG_MSG_TRANSPARENTGIF_NOT_SUPPORTED);?>.</span>
    				<input type="hidden" name="image_id" value="<?=$image_id?>" />
    			</td>
    		</tr>
    		<? if ($thumb_id) { ?>
    			<tr>
    				<th colspan="2"><input type="checkbox" name="remove_image" value="1" class="inputCheck" /></th>
    				<td><?=system_showText(LANG_MSG_CHECK_TO_REMOVE_IMAGE)?></td>
    			</tr>
    		<? } ?>
    	</table>
     
    <table cellpadding="0" cellspacing="0" border="0" class="standard-table">
    	<tr>
    		<th colspan="2" class="standard-tabletitle">
    			<?=system_showText(LANG_LABEL_SUMMARY_DESCRIPTION)?> <span>(<?=strtolower(system_showText(LANG_MSG_MAX_250_CHARS))?>)</span>
    		</th>
    	</tr>
    	<?
    	$array_edir_languagenames = explode(",", EDIR_LANGUAGENAMES);
    	for ($i=0; $i<count(explode(",", EDIR_LANGUAGES)); $i++) {
    		$labelsuffix = "";
    		if ($i) $labelsuffix = $i;
    		?>
    		<tr>
    			<th><?=((count(explode(",", EDIR_LANGUAGES))>1)?($array_edir_languagenames[$i].":"):("&nbsp;"));?></th>
    			<td>
    				<textarea name="summarydesc<?=$labelsuffix;?>" rows="5" onKeyDown="textCounter(this.form.summarydesc<?=$labelsuffix;?>,this.form.remLen<?=$labelsuffix;?>,250);" onKeyUp="textCounter(this.form.summarydesc<?=$labelsuffix;?>,this.form.remLen<?=$labelsuffix;?>,250);"><?=${"summarydesc".$labelsuffix};?></textarea>
    				<? $total = strlen(html_entity_decode(${"summarydesc".$labelsuffix})); ?>
    				<span><input readonly type="text" name="remLen<?=$labelsuffix;?>" size="3" maxlength="3" value="<?=250-$total?>" class="textcounter" /> <?=system_showText(LANG_MSG_CHARS_LEFT)?> <?=system_showText(LANG_MSG_INCLUDING_SPACES_LINE_BREAKS)?></span>
    			</td>
    		</tr>
    		<?
    	}
    	?>
    </table>
     
    <table cellpadding="0" cellspacing="0" border="0" class="standard-table">
    	<tr>
    		<th colspan="2" class="standard-tabletitle"><?=system_showText(LANG_LABEL_DETAIL_DESCRIPTION)?></th>
    	</tr>
    	<?
    	$array_edir_languagenames = explode(",", EDIR_LANGUAGENAMES);
    	for ($i=0; $i<count(explode(",", EDIR_LANGUAGES)); $i++) {
    		$labelsuffix = "";
    		if ($i) $labelsuffix = $i;
    		?>
    		<tr>
    			<th><?=((count(explode(",", EDIR_LANGUAGES))>1)?($array_edir_languagenames[$i].":"):("&nbsp;"));?></th>
    			<td>
    				<textarea name="detaildesc<?=$labelsuffix;?>" rows="5"><?=${"detaildesc".$labelsuffix}?></textarea>
    			</td>
    		</tr>
    		<?
    	}
    	?>
    </table>
     
    <table cellpadding="0" cellspacing="0" border="0" class="standard-table">
    	<tr>
    		<th colspan="2" class="standard-tabletitle">
    			<?=system_showText(LANG_LABEL_KEYWORDS_FOR_SEARCH)?> <span>(<?=system_showText(LANG_LABEL_MAX);?> <?=MAX_KEYWORDS?> <?=system_showText(LANG_LABEL_KEYWORDS);?>)</span>
    			<img src="<?=DEFAULT_URL?>/images/icon_interrogation.gif" alt="?" title="<?=system_showText(LANG_MSG_INCLUDE_UP_TO_KEYWORDS)?> <?=MAX_KEYWORDS?> <?=system_showText(LANG_MSG_KEYWORDS_WITH_MAXIMUM_50)?>" border="0" />
    		</th>
    	</tr>
    	<tr>
    		<td colspan="2" class="standard-tableContent">
    			<table border="0" cellpadding="0" cellspacing="0" align="center">
    				<tr>
    					<th><?=system_showText(LANG_MSG_KEYWORD_PER_LINE)?></th>
    					<td>
    						<?=system_showText(LANG_KEYWORD_SAMPLE_1);?><br />
    						<?=system_showText(LANG_KEYWORD_SAMPLE_2);?><br />
    						<?=system_showText(LANG_KEYWORD_SAMPLE_3);?><br />
    					</td>
    				</tr>
    			</table>
    		</td>
    	</tr>
    	<?
    	$array_edir_languagenames = explode(",", EDIR_LANGUAGENAMES);
    	for ($i=0; $i<count(explode(",", EDIR_LANGUAGES)); $i++) {
    		$labelsuffix = "";
    		if ($i) $labelsuffix = $i;
    		?>
    		<tr>
    			<th><?=((count(explode(",", EDIR_LANGUAGES))>1)?($array_edir_languagenames[$i].":"):("&nbsp;"));?></th>
    			<td>
    				<textarea name="keywords<?=$labelsuffix;?>" rows="5"><?=${"keywords".$labelsuffix}?></textarea>
    			</td>
    		</tr>
    		<?
    	}
    	?>
    </table>
     
    	<table border="0" cellpadding="0" cellspacing="0" class="standard-table">
    		<tr>
    			<th colspan="2" class="standard-tabletitle">
    				<?=system_showText(LANG_LABEL_CATEGORY);?>
    			</th>
    		</tr>
    		<tr>
    			<th>* <?=system_showText(LANG_CLASSIFIED_CATEGORY);?>:</th>
    			<td><?=$categoryDropDown?></td>
    		</tr>
    	</table>
     
    <? if (PAYMENT_FEATURE == "on") { ?>
    	<? if ((CREDITCARDPAYMENT_FEATURE == "on") || (INVOICEPAYMENT_FEATURE == "on")) { ?>
    		<table cellpadding="0" cellspacing="0" border="0" class="standard-table">
    			<tr>
    				<th colspan="2" class="standard-tabletitle"><?=system_showText(LANG_LABEL_DISCOUNT_CODE)?></th>
    			</tr>
    			<? if (((!$classified->getNumber("id")) || (($classified) && ($classified->needToCheckOut())) || (strpos($url_base, "/sitemgr")) || (($classified) && ($classified->getPrice() <= 0))) && ($process != "signup")) { ?>
    				<tr>
    					<th><?=system_showText(LANG_LABEL_CODE)?>:</th>
    					<td><input type="text" name="discount_id" value="<?=$discount_id?>" maxlength="10" /></td>
    				</tr>
    			<? } else { ?>
    				<tr>
    					<th><?=system_showText(LANG_LABEL_CODE)?>:</th>
    					<td><?=(($discount_id) ? $discount_id : system_showText(LANG_NA) )?></td>
    				</tr>
    			<? } ?>
    		</table>
    	<? } ?>
    <? } ?>

  5. #5
    Membre Expert Avatar de Fench
    Homme Profil pro
    Chercheur en informatique
    Inscrit en
    Mai 2002
    Messages
    2 353
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Groenland

    Informations professionnelles :
    Activité : Chercheur en informatique
    Secteur : Administration - Collectivité locale

    Informations forums :
    Inscription : Mai 2002
    Messages : 2 353
    Par défaut
    Bonjour,

    Tu veux l'ajouter ou ton option ?

    Et à partir de quel niveau (level) ?

  6. #6
    Membre du Club
    Inscrit en
    Janvier 2010
    Messages
    8
    Détails du profil
    Informations forums :
    Inscription : Janvier 2010
    Messages : 8
    Par défaut
    Citation Envoyé par Fench Voir le message
    Bonjour,

    Tu veux l'ajouter ou ton option ?

    Et à partir de quel niveau (level) ?
    merci pour ta réponse

    je crois level default

    parceque sur le panel quand je fais ajouté une liste ou annonce, j'ai 4 niveau

    Basic
    Premium
    Showcase

    voila le borad quand je veux ajouté une annonce



    merci beaucoup pour votre aide

Discussions similaires

  1. Ordre d'affichage des control dans une form
    Par bipcpp dans le forum Windows Forms
    Réponses: 3
    Dernier message: 09/12/2009, 20h08
  2. Réponses: 2
    Dernier message: 28/06/2008, 10h08
  3. Probleme double donne nimporte quoi
    Par Battosaiii dans le forum C
    Réponses: 2
    Dernier message: 10/04/2006, 10h41
  4. Réponses: 8
    Dernier message: 03/04/2006, 19h28
  5. probleme insertion donnée access
    Par nashouille dans le forum Langage SQL
    Réponses: 3
    Dernier message: 12/01/2004, 14h45

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo