Menu

[r13]: / services / viewservice.php  Maximize  Restore  History

Download this file

66 lines (50 with data), 2.1 kB

 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
<?php
#Application name: PhpCollab
#Status page: 1
#Path by root: ../services/viewservice.php
$checkSession = "true";
include_once('../includes/library.php');
if ($profilSession != "0") {
headerFunction('../general/permissiondenied.php?'.session_name().'='.session_id());
exit;
}
$tmpquery = "WHERE serv.id = '$id'";
$detailService = new request();
$detailService->openServices($tmpquery);
$comptDetailService = count($detailService->serv_id);
include('../themes/'.THEME.'/header.php');
$blockPage = new block();
$blockPage->openBreadcrumbs();
$blockPage->itemBreadcrumbs($blockPage->buildLink("../administration/admin.php?",$strings["administration"],in));
$blockPage->itemBreadcrumbs($blockPage->buildLink("../services/listservices.php?",$strings["service_management"],in));
$blockPage->itemBreadcrumbs($detailService->serv_name[0]);
$blockPage->closeBreadcrumbs();
if ($msg != "") {
include('../includes/messages.php');
$blockPage->messagebox($msgLabel);
}
$block1 = new block();
$block1->form = "serviceD";
$block1->openForm("../services/viewservice.php?".session_name()."=".session_id()."#".$block1->form."Anchor");
if ($error != "") {
$block1->headingError($strings["errors"]);
$block1->contentError($error);
}
$block1->heading($strings["service"]);
$block1->openPaletteIcon();
$block1->paletteIcon(0,"remove",$strings["delete"]);
$block1->paletteIcon(1,"edit",$strings["edit"]);
$block1->closePaletteIcon();
$block1->openContent();
$block1->contentTitle($strings["details"]);
$block1->contentRow($strings["name"],$detailService->serv_name[0]);
$block1->contentRow($strings["name_print"],$detailService->serv_name_print[0]);
$block1->contentRow($strings["hourly_rate"],$detailService->serv_hourly_rate[0]);
$block1->closeContent();
$block1->closeForm();
$block1->openPaletteScript();
$block1->paletteScript(0,"remove","../services/deleteservices.php?id=$id","true,true,true",$strings["delete"]);
$block1->paletteScript(1,"edit","../services/editservice.php?id=$id","true,true,true",$strings["edit"]);
$block1->closePaletteScript("","");
include('../themes/'.THEME.'/footer.php');
?>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.