-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.php
More file actions
33 lines (26 loc) · 931 Bytes
/
form.php
File metadata and controls
33 lines (26 loc) · 931 Bytes
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
<?php
<?php
if(get_post_meta($post->ID, 'wifi', true) == 'yes')
{
echo "دارد";
}
?>
if(get_post_meta($post->ID, 'ui-ux-design', true) == 'yes') {
//show relevant content
}
?>
<?php
if(get_post_meta( $post->ID, '_wporg_meta_key', true )=="aparteman")
{echo "آپارتمان";}
elseif(get_post_meta( $post->ID, '_wporg_meta_key', true )=="sooet")
{echo"سوییت";}
elseif(get_post_meta( $post->ID, '_wporg_meta_key', true )=="edari")
{echo"اداری";}
elseif(get_post_meta( $post->ID, '_wporg_meta_key', true )=="tejari")
{echo"تجاری";}
elseif(get_post_meta( $post->ID, '_wporg_meta_key', true )=="zaminmaskoni")
{echo"زمین مسکونی";}
elseif(get_post_meta( $post->ID, '_wporg_meta_key', true )=="zaminkeshavarzi")
{echo"زمین کشاورزی";}
else {echo "هیچ نتیجه ای یافت نشد";}
?>