Browse
For agents
About
Property Hive
/
1.4.6
Property Hive
v1.4.6
Switch version
2.3.1
2.3.0
2.2.6
2.2.5
2.2.4
2.2.3
2.2.2
1.4.46
1.4.47
1.4.48
1.4.49
1.4.5
1.4.50
1.4.51
1.4.52
1.4.53
1.4.54
1.4.55
1.4.56
1.4.57
1.4.58
1.4.59
1.4.6
1.4.60
1.4.61
All 261 releases
Overview
Code
propertyhive
/
templates
/
search
/
summary.php
summary.php
in Property Hive 1.4.6, at templates/search/summary.php
21 lines
383 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
<
?
php
2
/**
3
* Loop Summary
4
*
5
*
@author
PropertyHive
6
*
@package
PropertyHive/Templates
7
*
@version
1.0.0
8
*/
9
10
if
(
!
defined
(
'
ABSPATH
'
)
)
exit
;
//
Exit if accessed directly
11
12
global
$
property
;
13
?
>
14
<
div
class
=
"
summary
"
>
15
16
<
?
php
17
echo
substr
(
strip_tags
(
$
property
->
post_excerpt
)
,
0
,
300
)
;
18
if
(
strlen
(
strip_tags
(
$
property
->
post_excerpt
)
)
>
300
)
{
echo
'
...
'
;
}
19
?
>
20
21
<
/
div
>