Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tetiana yaremko
/
web-app-group2
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
48e107ef
authored
May 12, 2020
by
tetiana yaremko
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
upload file on live server
parent
fb202086
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
application/views/item.php
application/views/templates/home_t.php
application/views/item.php
View file @
48e107ef
...
...
@@ -103,8 +103,6 @@
<?php
$i
=
0
;
?>
<?php
foreach
(
array_reverse
(
$get_by_genre
)
as
$item
)
{
?>
<?php
if
(
$i
<
4
&&
$item
->
id
!=
$data
->
id
)
{
?>
<?php
if
(
$item
->
feature
==
'exclusive'
)
{
?>
<div
class=
"pair-col col d-flex flex-column justify-content-center align-items-center mb-5"
>
<a
href=
"
<?php
echo
base_url
();
?>
index.php/home/item/
<?php
echo
$item
->
id
;
?>
"
>
<img
class=
"img-thumbnail"
style=
"max-height: 20rem"
src=
"
<?php
echo
$item
->
image
;
?>
"
/></a>
...
...
@@ -114,9 +112,9 @@
</div>
<?php
}
?>
<?php
$i
++
;
?>
<?php
}
?>
<?php
$i
++
;
?>
<?php
}
?>
<?php
endif
;
?>
...
...
application/views/templates/home_t.php
View file @
48e107ef
...
...
@@ -126,9 +126,9 @@
</div>
</div>
<?php
$i
++
;
?>
<?php
}
?>
<?php
$i
++
;
?>
<?php
}
?>
<?php
}
?>
<?php
endif
;
?>
...
...
@@ -183,9 +183,11 @@
</div>
</div>
<?php
$i
++
;
?>
<?php
}
?>
<?php
}
?>
<?php
$i
++
;
?>
<?php
}
?>
<?php
endif
;
?>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment